A simple way to use tk.mybatis

A pom.xml import dependency (an error will be reported in the lower version here) <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> <version>2.1.5</version> </dependency> ...

Posted on Tue, 15 Oct 2019 13:39:16 -0700 by ponies3387

How to add custom column for CSDN VIP

A few months ago, I started a blog on csdn, one is to add a few poor traffic to myself, and the other is to let the original articles on the public account get more exposure and let the students in need see them. All the students who have written csdn blog know that by default, there is only the function of reward c currency; there is no specia ...

Posted on Tue, 15 Oct 2019 12:49:55 -0700 by Nhoj

Analysis of SpringBoot source code -- Analysis of SpringBoot project startup class SpringApplication

Source version description The source code of this article is spring boot 2.1.0 build, corresponding to spring framework 5.1.0.rc1. Note: This article only combs the process as a whole, without detailed and in-depth analysis. SpringBoot entry class @SpringBootApplication public class DemoApplication { public static void main(String[] a ...

Posted on Tue, 15 Oct 2019 10:46:44 -0700 by dan7474

Copy of Java IO file, copy of image, variable parameter, try...with...resource

public static void close(Closeable... io) / / variable parameter, equivalent to array Closeable... io / / variable parameter, equivalent to array when used (for loop traversal)The interface implemented by the Closeable I / O stream is used when releasing resources.try...with..resource auto release resource tool:try followed by (is;os). If the ...

Posted on Tue, 15 Oct 2019 10:36:53 -0700 by lox

How to de duplicate array slices by Go

The Go standard library itself does not provide a function to remove duplicate elements from slice, which needs to be implemented by itself. The following provides an implementation idea. If there is a better implementation method, please leave a message for discussion. package main import ( "fmt" ) func main() { s := []string{"hello" ...

Posted on Tue, 15 Oct 2019 09:32:26 -0700 by angelcool

Feign [replace the default feign client]

Explain: By default, feign uses the HTTP request sent by the original URLConnection of JDK, which is not used in the connection pool, but maintains a long connection for each address, that is, HTTP persistence connection. We can use Apache's HTTP client to replace the original HTTP client, and tune the service call by setting the connection po ...

Posted on Tue, 15 Oct 2019 08:09:05 -0700 by Coruba67

ActiveMQ Learning Summary - --- Native Practical Operation 03

This article will continue with the previous one as a knowledge supplement, laying a good foundation for our next study of spring integrating ActiveMQ. The main contents of this study are as follows: 1.ActiveMQ Queue Service Listening 2.ActiveMQ Topic Model   Looking back on the last ActiveMQ Learning Summary, we learned that: 1. Introdu ...

Posted on Mon, 14 Oct 2019 23:54:00 -0700 by Megalink

Exploring JAVA8 part2: several built-in functional interfaces

previously on Deep Exploration of JAVA8 Par1: Functional Programming and Lambda Expressions Before reading this article, those who are not familiar with functional programming and Lambda expressions can first look at the above and recall it. This article will briefly introduce some of the built-in functional interfaces in Java 8 Retrospective F ...

Posted on Mon, 14 Oct 2019 13:25:55 -0700 by jdnet

Thymeleaf Common Grammar: Operator of Expressional Grammar

The constants of Thymeleaf expression grammar are divided into string constants, number constants, Boolean constants and null constants.Operators are divided into arithmetic operators, relational operators, conditional operators and no operators. Development environment: IntelliJ IDEA 2019.2.2Spring Boot version: 2.1.8 Create a new Spring Boo ...

Posted on Mon, 14 Oct 2019 11:39:34 -0700 by TalonFinsky

Universal rule matching algorithm (original) (java+.net)

1. Spring Spel l or Google Aviator can be used in Java If you use Aviator, add the following dependencies <dependency> <groupId>com.googlecode.aviator</groupId> <artifactId>aviator</artifactId> <version>4.1.2</version> </dependency>   However, ...

Posted on Mon, 14 Oct 2019 11:28:43 -0700 by kjtocool