In depth understanding of Mybatis architecture design

architecture design We can divide the functional architecture of Mybatis into three layers: API interface layer: interface APIs provided for external use. Developers use these local APIs to manipulate the database. As soon as the interface layer receives the call request, it will call the data processing layer to complete the specific data ...

Posted on Tue, 02 Nov 2021 06:31:48 -0400 by zMastaa

MyBatis source parsing Cache module

Secondary cache of MyBatis MyBatis cache is divided into two levels: first level cache and second level cache. First level cache is SqlSession level cache and second level cache is mapper level cache. But this blog mainly introduces the cache interface and cache key interface in mybaits, as well as some cache implementations. I wrote a blog bef ...

Posted on Tue, 03 Dec 2019 03:22:14 -0500 by BittenApple

Implementation of MyBatis interceptor custom paging plug-in

MyBaits is an excellent open-source persistence layer framework, with SQL statements separated from code, configuration oriented programming, good support for complex data mapping and dynamic SQL; MyBaits is an excellent persistence layer framework that supports customized SQL, stored procedures and advanced mapping. MyBatis avoids almost all J ...

Posted on Thu, 17 Oct 2019 04:41:26 -0400 by DLR