Mybatis Cache Novel
Catalog
Article Directory
Preface
1.Level 1 Cache
1.1.What is a Level 1 Cache
1.2.Test 1-Same SqlSession
1.3. Test 2-Different SqlSession
1.4.Test 3 - Refresh Cache
1.5.summary
2.Secondary Cache
2.1.What is a secondary cache
2.2.Configure Secondary Cache
2.2.1.Global Switch
2.2.2.Separate off
2.2.3.Code Configuration
2.2.4.Detail ...
Posted by angershallreign on Sun, 26 Sep 2021 10:19:44 -0700
[learning notes] Mybatis framework learning and personal perception
Mybatis
Required environmentreviewJDK1.8JDBCMysql5.7/8.0Mysqlmaven3.6.1MavenIDEAJunit
SSM (Spring + SpringMvc + Mybatis) framework: related to configuration files. The best way to learn: official documents.
1, Introduction
1.1. What is Mybatis
MyBatis is an excellent persistence layer framework.It supports custom SQL, stored procedure ...
Posted by php12342005 on Sat, 25 Sep 2021 20:34:20 -0700
Mybatis integrated spring of mybatis learning 12 (Continued)
1. Will Mybatis reverse engineering of mybatis learning 11 Copy the com.pp.maper and com.pp.pojo files generated in to spring_ Under the src/main/java file of mybatis
2. Spring_ The mapper point in the applicationContext.xml file in mybatis is changed to com.pp.mapper point to the mapper abstract class under the java file
<?xml version="1. ...
Posted by GreyBoy on Sat, 25 Sep 2021 16:54:50 -0700
[Mybatis] explain the core configuration file
🌈 I'm lucky to meet you. I'm Xiao Xiang. Have a big factory dream, work hard! Come on, stranger! 🌈 ☁️ This article is the notes and experience of learning Mybatis from the crazy God of station B. if it is useful to you, thank you for your praise. The article inevitably has shortcomings. Please point out that I will correct it in time!
T ...
Posted by vyb3 on Sat, 25 Sep 2021 11:44:36 -0700
Idea creates a simple MyBatis project
catalogue
Article catalog
preface
1, Create Maven project
2, POM configuration
1. Configure JDK version and encoding method
2. Set resource file path
3. Add dependency
4. All of POM documents
3, Initialization data
4, Configure mybatis-config.xml
5, Configure config.properties
6, Configure log4j.properties
7, Create t ...
Posted by Illusion on Sat, 25 Sep 2021 10:45:55 -0700
Mybatis01 - first program
1. Introduction
Environmental description:
jdk 8 +
MySQL 5.7.19
maven-3.6.1
IDEA
Before learning, you need to master:
JDBC
MySQL
Java Foundation
Maven
Junit
What is MyBatis
MyBatis is an excellent persistence layer framework
MyBatis avoids almost all JDBC code and the process of manually setting parameters and obtaining result set ...
Posted by drummer101 on Thu, 23 Sep 2021 00:43:25 -0700
Mybatis complete notes
1. Introduction
1.1. What is Mybatis
MyBatis is an excellent persistence layer frameworkIt supports custom SQL, stored procedures, and advanced mapping.MyBatis eliminates almost all JDBC code and the work of setting parameters and obtaining result setsMyBatis can configure and map primitive types, interfaces and Java POJO s (Plain Old Jav ...
Posted by gregor63 on Wed, 22 Sep 2021 07:16:35 -0700
Mybatis plus study notes
Chapter 1 MybatisPlus quick start
1. MybatisPlus overview
MybatisPlus: an enhanced toolkit for Mybatis
MybatisPlus official website: https://mybatis.plus/ or https://mp.baomidou.com/
MyBatis plus (MP for short) is an enhancement tool of MyBatis. On the basis of MyBatis, it is only enhanced without change. It is born to simplify development ...
Posted by QuizToon on Sat, 18 Sep 2021 05:12:50 -0700
Summary of common basic interview questions
1. What is the difference between synchronous and asynchronous?
Synchronization means that when a function call is issued, the call will not return or continue to perform subsequent operations until the result is obtained.
Asynchrony is relative to synchronization. When an asynchronous procedure call is issued, the caller can proceed with sub ...
Posted by cruzbullit on Sat, 18 Sep 2021 05:04:51 -0700
Usage of mybatis plus conditional constructor wrapper (detailed, simple and clear)
The wrapper is used. Sort out the data and record it for subsequent review.
Directory ------------ (you can click the corresponding directory to jump directly)
1, Introduction to conditional constructor relationship
Introduction to conditional constructor relationship:
Introduction to wapper:
2, Project instance
1. Query according to the ...
Posted by cavedave on Fri, 03 Sep 2021 14:48:36 -0700