Mybatis - dynamic SQL, paging plug-in
Dynamic SQL
introduce
In the mapping file of Mybatis, our SQL is relatively simple. Sometimes when the business logic is complex, our SQL changes dynamically. At this time, our SQL can not meet the requirements in the previous study.
The official document on dynamic SQL reference is described as follows:
Previous problems
Example of mult ...
Added by miniature on Sat, 26 Feb 2022 22:34:36 +0200
Mybatis interface proxy method Dao
Dao interface proxy
Case project skeleton
What is agent development?
Mapper interface development needs to follow the following specifications
Write StudentMapper interface
Case demonstration
Source code analysis
Analyze how dynamic proxy objects are generated?
How is the analysis method performed?
Dao interface proxy
Case project sk ...
Added by cpharry on Sat, 26 Feb 2022 20:45:22 +0200
[WeChat Applet Foundation] Java Script's first exposure to Java Script from getting started to giving up
Preface
Now that you've vowed to be a full stack engineer, you've learned to draw PCB s, C, ESP32(WiFi) programming, Linux application programming, processes, threading, network programming, and so on, and how devices connect to the cloud platform. Now it's just a matter of mobile control, and the WeChat applet is undoubtedly the first c ...
Added by LikPan on Sat, 26 Feb 2022 20:11:56 +0200
Spring Learning Notes - AOP and Spring Transaction Learning
This weekend, I'm going to take a look at another focus of Spring, transaction learning in AOP and Spring. I've written articles about transactions before, all about how to use them in my work. I'll add some basics today, try to explain the role in some straightforward words, and then sort out the interview questions I occasionally heard in the ...
Added by fukas on Sat, 26 Feb 2022 19:43:38 +0200
RabbitMQ installation and introduction
RabbitMQ
What is MQ
MQ(message queue), in its literal sense, is essentially a queue. FIFO is first in first out, but the content stored in the queue is message. It is also a cross process communication mechanism for upstream and downstream message delivery. In the Internet architecture, MQ is a very common upstream and downstream "logica ...
Added by georgen on Sat, 26 Feb 2022 17:43:42 +0200
Mybatis plus study notes
1, Quick start
mybatis+MP
Step 1:
Based on the original code, let the XXXMapper (such as UserMapper) interface inherit the BaseMapper interface, so you can use the following methods defined in BaseMapper: Note that inheriting BaseMapper requires specifying the generic type of the entity class of the operation
public interface UserMappe ...
Added by trollll on Sat, 26 Feb 2022 17:38:59 +0200
Use of Java - jdbc
Chapter 1 JDBC overview
Before that, we learned JavaSE and wrote Java programs. The data is stored in variables, arrays, sets, etc., which cannot be persisted. Later, we learned that IO streams can write data to files, but it is not convenient to manage data and maintain the relationship between data;
Later, we learned the database manage ...
Added by dcro2 on Sat, 26 Feb 2022 16:47:26 +0200
Class loader
Learning objectives
Through the analysis of source code level, understand the direct relationship between the three loaders and the understanding of parental delegation mechanism
Introduction to class loader
The design team of Java virtual machine intentionally put the binary byte stream describing a class obtained through the full class ...
Added by paulbrown83 on Sat, 26 Feb 2022 14:21:49 +0200
Lombok common notes
In the process of programming, you will find that Java code is sometimes lengthy. Lombok provides a series of annotations to generate template code in the background and delete it from your class, which helps to keep the code clean and easier to read and maintain. The following will introduce the common annotations of Lombok to show you how to ...
Added by travelerBT on Sat, 26 Feb 2022 12:30:35 +0200
5, Microservice gateway (to be modified)
What I wrote earlier: most of this article (all of it is OK) is copied, and the materials in the classroom are very good. I feel ashamed of writing, but if I don't write it, it will affect the content of the whole blog. I'll revise / write my notes later. Thank you for passing by. I hope the student's notes can give you a trivial reference (2 / ...
Added by Sj0wKOoMel on Sat, 26 Feb 2022 12:01:35 +0200