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
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
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
[Spring] about Spring's type conversion ConversionService TypeConverter, etc
preface
The conversion capability at the Spring framework level is mainly provided by ConversionService. This chapter briefly discusses the Spring conversion service:
Converter API: Converter ConverterFactory GenericConverter, etcConversion service: ConversionService seriesIntegration of Formatter and ConverterUnified transformation servi ...
Added by theredking on Sat, 26 Feb 2022 12:28:27 +0200
Mybatis learning - dynamic SQL
Mybatis learning - dynamic SQL
What is dynamic SQL
Dynamic SQL is to generate different SQL statements according to different conditions Dynamic SQL is similar to JSTL or any text processor based on XML like languages. In previous versions of MyBatis, it took time to understand a large number of elements. With the powerful expression base ...
Added by bocasz on Sat, 26 Feb 2022 05:19:31 +0200
The most complete notes of SpringBoot are collected and learned slowly~
For Java developers, no one dares to underestimate the importance of Spring Boot. Now when you go out for an interview, no matter how small a company or project, you have to talk about Spring Boot and micro services. If you can't chew it down, you may miss the big factory.
If you are proficient in the principle and implementation of Spring Boo ...
Added by CoderDan on Sat, 26 Feb 2022 05:06:58 +0200
Spring MVC Chapter 15 uploading spring MVC files
The file upload of Spring MVC framework is based on the Commons fileUpload component, which is further encapsulated, which simplifies the code implementation of file upload and eliminates the programming differences of different upload components.
MultipartResolver interface
It is very easy to upload files in Spring MVC. It provides dire ...
Added by Liz_SA on Sat, 26 Feb 2022 04:36:05 +0200
Study notes of spring MVC
Introduction to spring MVC
Official documents: https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc
First try spring MVC
Three major components that must be configured to use spring MVC:
Process mapper, process adapter, view parser
schematic diagram
Operation steps
Import Java Web and Spring dependenc ...
Added by simona_85 on Fri, 25 Feb 2022 18:58:30 +0200
Spring Boot configuration class processing
ConfigurationClassPostProcessor handles all configuration classes, including @ Component, @ Bean, @ Import annotation, etc. Since the configuration class may introduce new configuration classes and the new configuration classes need to be processed, the ConfigurationClassPostProcessor uses a do while loop to process the configuration classes un ...
Added by trinitywave on Fri, 25 Feb 2022 16:26:13 +0200
[Spring] principle and implementation of AOP
1, Gossip
I'm a little sleepy today, but I still insist on learning for a while. Today, let's take a look at another major feature of Spring, AOP
2, Basic points
1. Basic concepts AOP means aspect oriented programming. It is a technology to realize the unified maintenance of program functions through precompiled mode and dynamic agent during ...
Added by washbucket on Fri, 25 Feb 2022 14:33:29 +0200