Package output results

catalogue After the execution of SQL statements in MyBatis, the processing of results     1. resultType result type refers to the java object that the data is converted to after the sql statement is executed. The java type is arbitrary     2. Alias the resultType of the returned result     3. Save q ...

Added by paullb on Fri, 11 Feb 2022 07:45:04 +0200

SSM framework integration

SSM framework integration SSM framework includes spring, spring MVC and Mybatis. Spring and spring MVC are both modules of the Spring Framework and do not need to be integrated. Just integrate Mybatis with spring 1, Integration concerns Application of Spring in web project When the web project starts, read ApplicationContext MXL configurat ...

Added by bigc79 on Thu, 10 Feb 2022 18:02:34 +0200

Security framework shiro

1, What is shiro Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, password, and session management. With Shiro's easy to understand API, you can get any application quickly and easily, from the smallest mobile application to the largest network and enterprise application. Develop ...

Added by rokchik on Thu, 10 Feb 2022 09:09:58 +0200

mybatis04 -- developing with annotations

1 review - Interface oriented programming Root cause: decoupling, expandable, improved reuse. In layered development, the upper layer does not care about the specific implementation. Everyone abides by common standards, making the development easier and more standardized. The cooperative relationship between various objects has become the key ...

Added by deezin on Thu, 10 Feb 2022 07:31:52 +0200

MyBatis first day of study

MyBatis first day of study Establishment of MyBatis basic environment (taking querying all data as an example) pom <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.4.5</version> </dependency> <dependency> <groupId& ...

Added by tave on Thu, 10 Feb 2022 05:19:23 +0200

Delayed loading of Mybatis

Delayed loading Delayed loading is applied in combination with associated query. That is, it only works on the < Association > and < Collection > tags For the associated query, if the delayed loading strategy is not adopted, but the associated slave information is queried at one time, the N+1 problem will occur when there is more ...

Added by designxperts on Tue, 08 Feb 2022 06:03:00 +0200

[Mybatis source code analysis] summary of design patterns involved in Mybatis source code

Although we all know that there are 26 design patterns, most of them stay at the conceptual level and are rarely encountered in real development. A large number of design patterns are used in Mybatis source code. Reading the source code and observing the application of design patterns in it can have a deeper understanding of design patterns. My ...

Added by AliceG on Mon, 07 Feb 2022 11:39:13 +0200

Mybatis madness lecture notes (incomplete)

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 sets.MyBatis can configure and map primitive types, interfaces and Java POJO s (Plain Old Java Ob ...

Added by Shadow Wolf on Sun, 06 Feb 2022 23:53:52 +0200

Learning route of SSM mode - [introduction notes of mybatis]

Mybatis is a persistence layer framework. In detail, it is a version persistence framework. It is configured through simple xml or annotations, so that the operation of the database is not so cumbersome; What is mybatis mybatis is a retrograde mapping framework, which is used to solve some problems encountered in database operation; As t ...

Added by mattl on Sun, 06 Feb 2022 04:42:35 +0200

Mybatis Reverse Engineering & paging plug-in

1. Paging plug-in MjBatis provides a plug-in mechanism so that we can enhance the function of MyBats according to our own needs. It should be noted that if you do not fully understand the operation principle of lMy Batis and the working mode of plug-ins, you'd better not use plug-ins, because it will change the working logic at the bottom of t ...

Added by ben2.0 on Sat, 05 Feb 2022 12:33:27 +0200