mybatis, dynamic sql, paging
1. Basic addition, deletion, modification and query
From reverse generation
Code example: only add and query are selected
increase
<insert id="insert" parameterType="com.csf.model.Book" >
insert into t_mvc_book (bid, bname, price
)
values (#{bid,jdbcType=INTEGER}, #{bname,jdbcType=VARCHAR}, #{price,jdbcType=REAL}
...
Added by aclees86 on Tue, 14 Dec 2021 11:18:57 +0200
JavaEE Beginner Level 4--Beginners must see
Long live your health and innocent business. Hello, I'm Laity and your brother J.
Introduction to JavaWeb
Use Java technology to solve the technology stack in the related web Internet domain (in fact, to develop a website)
Java has a long history with a wide range of api s. (Background Development Engineer major database and JavaWeb program ...
Added by Big_Rog on Sun, 12 Dec 2021 19:17:01 +0200
Learning notes: SSM framework integration steps
Three stages of SSM integration
Spring and spring MVC environment configuration Integrated configuration of Spring and Mybatis Other component configurations: declarative transactions, logs······
1, Spring and spring MVC environment configuration
1.1 relying on spring webmvc Add the dependency packag ...
Added by morrisoner on Fri, 10 Dec 2021 18:25:46 +0200
mybatis, connection pool, transaction, isolation level, late loading, annotation development, caching, paging
I Connection pool
1. Introduction
Mybatis uses its own connection pool technology, which can be found in mybatis config XML As shown in the figure:
2. Classification of mybaits connection pool
UNPOOLED does not use the data source of the connection pool POOLED uses the data source of the connection pool JNDI database connection pool implem ...
Added by big_mumma on Thu, 09 Dec 2021 20:14:05 +0200
05 Mybatis annotation development (the end of Mybatis Series)
Mybatis user manual (5 of 5, continuously updated), collection + attention, don't get lost, hope to be helpful to my friends~ The source code link is at the end of the text ↓↓
Using annotation development can reduce the writing of Mapper mapping files.
1. Mybatis common notes
@Insert:Realize new
@Update:Implementation ...
Added by zevious on Thu, 09 Dec 2021 07:10:17 +0200
Analysis of dynamic tag foreach parsing process in mybatis
Briefly
For dynamic tags (foreach, if, choose, etc.) in mybatis, there will be corresponding classes to resolve. SqlNode is the top-level parsing interface, and each dynamic tag implements its apply method to complete its own parsing operation. The parsing implementation class corresponding to the foreach tag is forea ...
Added by torsoboy on Tue, 07 Dec 2021 21:53:57 +0200
mybatis_1. Basic knowledge points
target
Be able to understand what a framework is Master the quick start of Mybatis framework development Master the basic CRUD operation of Mybatis framework Master SqlMapConfig.xml configuration file Master the configuration of parameterType of Mybatis Master the configuration of resultType of Mybatis Understand Mybatis connection pool and t ...
Added by Transwarp-Tim on Sun, 05 Dec 2021 06:56:03 +0200
Basic use of mybatis
1, hello world
1. Environmental construction create maven web project mybatis01 and add maven dependencies as follows.
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.4.6</version>
</dependency>
<dependency>
<groupId> ...
Added by Irvin Amoraal on Sun, 05 Dec 2021 06:54:56 +0200
MyBatis framework (idea Maven)
catalogue
1. Architecture Introduction (pure theory, can be skipped)
1.1 three tier architecture
1.2 MyBatis framework
1.2.1 What is the MyBatis framework
1.2.2 What can MyBatis do
2. Use MyBatis
2.1 installation
two point two Creating databases and data tables
two point three Conf ...
Added by Spitfire on Sun, 05 Dec 2021 02:51:04 +0200
Use of MyBatis framework
1, Overview
1. Framework
The skeleton of framework project development encapsulates many details, so that developers can use simple interface calls to realize functions and improve development efficiency.
Problems to be solved by the framework
The most important thing of the framework is to solve the problem of technology integration. It sh ...
Added by Ryokotsusai on Sat, 04 Dec 2021 07:22:10 +0200