Article Directory
1 mybatis integrate the principles of spring Affairs
This article is no longer the source of a specific interpretation, just do a picture below:
After the figure compiled spring + mybatis integration in the core processes mybatis under all transactions and no transaction situation, which should be able to get a knowledge of:
How to (1) mybatis is integrated spring Affairs
(2) nontransactional case, Why mybatis L1 cache will fail
(3) in the case of a transaction case, why mybati level cache can use
Here to sum up, pre-knowledge to understand the needs of map
(1) spring core principle of affairs can refer to my article: " [spring] transaction source learning - target method call flow core source code interpretation
(2) spring + mybatis the integrated core principle mybatis operation of the database, I can refer to the following articles
" [Mybatis + spring integration source code Quest] - Mybatis integration of the underlying principles of the Spring in the case of a non-transactional cache invalidation "
" [Mybatis + spring integration source code Quest] - Mapper to create a dynamic proxy class core source code interpretation "★★★★★
" [explore] Mybatis source - Mybatis query process core source code interpretation - mapper is called " "
[explore] Mybatis source - Mybatis inquiry The core source code interpretation process - first talk selectOne method "