Mybatis core annotation summary

1, Foreword This article mainly introduces some annotations encountered in using mybatis in the project. Although it is not the most complete, it is basically enough for development. 2, Mybatis annotation 1,@Results Function: used to map query result set to entity class attribute. When the database field name is inconsistent with the attr ...

Posted by iamchris on Wed, 24 Nov 2021 01:26:40 +0100

[JAVA] poi parsing Excel table -- batch importing data

1. Brief overview 😵 It's better to teach people to fish than to teach people to fish. I also spent a lot of time querying information and learning this. This article only represents my personal views and positions. If there are mistakes, please comment and point out the exchange. In order to take care of novices and understand the tutorial ...

Posted by brooksh on Tue, 23 Nov 2021 20:57:38 +0100

Why must the local variable FI and nal used in lambda be fi nal or valid?

Direct answer JLS gives us some hints that restricting access to dynamic local variables by valid final variables may introduce concurrency problems. But what English is this? Simply put: java is designed to prevent the modification of data from being out of sync, that is, to prevent the outer local variables you use inside the lambda from be ...

Posted by putraaridana on Tue, 23 Nov 2021 13:42:44 +0100

Core understanding of spring boot and details of customizing starter

brief introduction hello, today I share my understanding of springboot. Springboot is a one-stop framework used by many enterprise web development. On the whole, springboot is the overall re encapsulation of spring! Spring officials have given many advantages of spring boot 1. It's a good time to create an independent spring application. It's ...

Posted by a-mo on Tue, 23 Nov 2021 09:10:03 +0100

Third party authentication -outh2 principle and analysis

I read a lot of articles about outh2 application, and the introduction is rather obscure and difficult to understand. At the same time, there is no actual case description, Next, I will explain with a simple case of security+outh2 and explain why this implementation method is the best through the wechat authentication process. 1. Security im ...

Posted by $0.05$ on Tue, 23 Nov 2021 06:20:14 +0100

RabbitMQ introduction and springboot integration

​ 1. What is message queue Message queue is mainly used to manage asynchronous messages (after registration, SMS sending is not necessary, and queue can be used). Realize the two-way decoupling between systems, and also play the role of message buffer and message distribution. When the producer generates a large amount of data, but the consum ...

Posted by natman3 on Sun, 21 Nov 2021 21:35:21 +0100

Springcloud, Nacos service registration, load balancing Ribbon, http client Feign

        Spring cloud is a complete set of framework for implementing microservices based on spring boot. It provides such components as configuration management, service discovery, circuit breaker, intelligent routing, micro agent, control bus, global lock, decision-making, distributed session and cluster state management. ...

Posted by brad_fears on Sun, 21 Nov 2021 01:54:55 +0100

Where does spring security default user name and password come from and why write UserDetails

1. Create a normal Spring boot project After creating the project, start it directly, and the password will be printed on the console: Enter in the browser http://localhost:8080 , it will jump to the login page: The default user name is user, and the password is printed on the console. This indicates that spring security is effectiv ...

Posted by RobM on Sun, 21 Nov 2021 01:32:05 +0100

The ssm + js page loads and displays the data in the user table

Refer to the previous operation: ssm + js realizes the registration function thinking â‘  Backstage Mapper a. Query operation, query status = 1 b. Write mapping file c. Po d. DtoService: finish paging settings a. Paging operation while querying b. PageHelperController a. Get the front-end submission page number and number b. Returns the data o ...

Posted by headsmack on Sat, 20 Nov 2021 01:38:50 +0100

Minor problems of maven project

brief introduction My autumn recruitment is basically over. The busiest time period is August and September. There is basically no written examination / interview in October, or I am really tired and don't want to continue the autumn recruitment. I want to lie down. Some of them really take the initiative to end the process Because of the exp ...

Posted by blade_922 on Fri, 19 Nov 2021 19:33:55 +0100