当前位置:网站首页>July 23, 2022 - mapper file description
July 23, 2022 - mapper file description
2022-07-24 00:11:00 【51CTO】
explain :
mybatis in xml The document states :
File header information :

among :
resultMap The label is : return map Type of data , It can be configured , That is, you can configure when the attributes in the entity class are inconsistent with the fields in the table in the database , Thus, it is configured as a one-to-one correspondence .
namespace Is the address of the corresponding interface file
select Query the corresponding sql sentence ,id Is the corresponding interface name , It also contains the return value type map and type Something like that , Single and multiple
inseret Add for input
update To modify , Update data
delete To delete
For these , The double label is for sql sentence , Writing xml When you file , If sql The statement is not sure whether it is right , After testing in the database management software , Then put it into the file ...
Code demonstration :
边栏推荐
猜你喜欢

Multi knapsack explanation of dynamic programming knapsack problem

【微服务架构】分布式事务

Tencent will close the "magic core". Is there any resistance to the development of digital collections?

合宙ESP32C3基于Arduino IDE框架下配置分区表

Idea cannot be switched to Chinese

Chapter 7: test architecture elements

Sentinel链路方式流控失效解决

logback

DGS file upload

【译】Go RPC 入门:Hello World
随机推荐
Windows software: how to install mysql5.7 and configure environment variables
【OpenCV】- cv.threshold()函数的参数type是数字时,代表的含义
YOLOv1
深度学习之 9 前馈神经网络 基本概念
Jenkins 使用sonarqube构建流水线代码审查项目
FPGA——SPI总线控制flash(3)含代码
The universal esp32c3 configures partition tables based on the Arduino ide framework
PyTorch 中遇到的问题
Webrtc 1 to 1 - basic architecture and directory
单目标追踪——【相关滤波】MOSSE:Visual Object Tracking using Adaptive Correlation Filters
Material return on investment
JS學習筆記-- 數組方法 底層實現方式
Single target tracking - [correlation filtering] mosse:visual object tracking using adaptive correlation filters
进步成长的快乐
今天在家里补觉
2022年7月23日——mapper文件说明
【for循环 if 条件语句】总结
Notes on cmake compilation tool
mysql数据库基础
Sentinel link mode flow control failure solution