MyBatis Executor Overview and Source Parsing

Label (Space Separation): Mybatis Actuator Overview Like tomcat, Mybatis has an executor, but not as complex as tomcat. The executor provides query, modification, transaction submission, transaction rollback, first-level cache cleaning, FlashStatement interface. An executor corresponds to a SqlSession, which is created by Configuration. Mybat ...

Added by pooker on Tue, 23 Jul 2019 05:52:06 +0300

04_MyBatis Single Table CRUD and Multiple Table Processing Association Operations

MyBatis single form CRUD operation The CRUD operation of single standard is mainly based on how to write high-quality SQL statements. If the column and entity attributes in the table do not correspond to each other in single standard operation, it is suggested to use aliases for mapping. # The diffe ...

Added by AlGale on Mon, 22 Jul 2019 09:37:06 +0300

Maven-SSM Profile

  pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.woniu</groupId> <artifactId>bkee ...

Added by chet139 on Sat, 20 Jul 2019 20:43:13 +0300

Integration of Spring Source Parsing Mybatis

https://blog.csdn.net/heroqiang/article/details/79135500 Integration package version: 1.3.1 The use of /*/ annotation in the article will provide in-depth analysis and in-depth analysis. text First, let's look at Spring's configuration for integrati ...

Added by scott212 on Sat, 20 Jul 2019 17:03:19 +0300

Spring Boot2: Integrating Mybatis infrastructure with Spring Boot2

Warehouse Address: spring-boot-learningWelcome to star and fork, give some encouragement to the author Preface Mybatis was difficult to use initially, requiring various configuration files, entity classes, Dao layer mapping associations, and a large number of other configurations. mybatis-spring-boot-starter is Spring Boot+ Mybatis, which can b ...

Added by mapleleaf on Sat, 20 Jul 2019 16:21:01 +0300

Mybatis Initial Notes (10) - Delayed Loading

Questions: In one-to-many, when we have a user, it has 100 accounts. When inquiring the user, the account information under the user is when to use and when to query again. When querying an account, the user information of the account should be queried again as the account is queried. What is lazy loading Delayed loading Queries are initiated o ...

Added by greekhand on Sat, 20 Jul 2019 10:42:50 +0300

Summary and Practice of Mysql Optimistic Lock

Optimistic Lock Introduction: Optimistic Locking is a relative pessimistic lock. Optimistic Locking assumes that data will not conflict in general. Therefore, when data is submitted and updated, it will formally detect the conflict of data. If conflict is found, it will let the user return the wrong information and let the user decide. What to ...

Added by motofzr1000 on Fri, 12 Jul 2019 20:39:07 +0300

Analysis of MyBatis Dynamic SQL Bottom Principle

When we use mybatis, we write sql statements in xml. For example, this dynamic sql code: <update id="update" parameterType="org.format.dynamicproxy.mybatis.bean.User"> UPDATE users <trim prefix="SET" prefixOverrides=","> <if test="name != null and name != ''"> name = #{name} </if&gt ...

Added by studgate on Thu, 11 Jul 2019 02:29:47 +0300

Spring transaction isolation level and propagation mechanism, spring+mybatis+atomikos for distributed transaction management

This article is reproduced in [ http://blog.csdn.net/liaohaojian/article/details/68488150] 1. The definition of a transaction: A transaction is a collection of multiple units of operation that are either not successful or successful.It must follow four principles (ACID). Atomicity: A transaction is the smallest unit of work that cannot be sep ...

Added by chrbar on Wed, 10 Jul 2019 19:29:01 +0300

Hogo Parses MyBatis Source (8) - TypeAlias Registry (Type Alias Registry) of Type Type Module

The original works can be reproduced, but please indicate the address of the origin: http://www.cnblogs.com/V1haoge/p/6705769.html 1. Review Data source module and previous transaction module are all part of environment, while environment is the foundation of Configuration and the cornerstone of Configuration, but the cornerstone is only to bui ...

Added by focus310 on Tue, 09 Jul 2019 21:31:15 +0300