当前位置:网站首页>Framework common annotation explanation
Framework common annotation explanation
2022-07-29 12:34:00 【Concubine Chihaya】
mybatis注解
@Select Mapping querySQL语句
SelectProvider Select语sentence dynamicsSOL映射.Allows you to specify a class name and a method that returns the run query when executed.有两个属性:type和 method,typeThe property is the fully qualified name of the class,methodis the name of the method in the class.、
@Insert Mapping insertedSQL语句
@InsertProvider Insert语sentence dynamicsSQL映射.Allows you to specify a class name and a method that returns the run query when executed.有两个属性:type和 method,typeThe property is the fully qualified name of the class,methodis the name of the method in the class.
@Update The mapping is updatedSQL语句
@UpdateProvider Update语sentence dynamicsSQL.Allows you to specify a class name and a method that returns the run query when executed.有两个属性:type和 method,typeThe property is the fully qualified name of the class,methodis the name of the method in the class.
、
@Delete Mapping deletedSQL语句
@DeleteProvider Deletesentence dynamicsSQL映射.Allows you to specify a class name and a method that returns the run query when executed.有两个属性:type和 method,typeThe property is the fully qualified name of the class,methodis the name of the method in the class.
@Result Separate result mapping between columns and attributes.属性包括:id、 column、 property、 javaType、jdbeType、 typeHandler、one、many.id属性是一个布尔值,Indicates whether to be used for primary key mapping.one属性是单独的联系,和XML配置中的 <association>相似,而many属性是对集合而言的,和XML配置的<collection>相似.
@Options Provides additional value for configuration options,They usually appear as additional feature configurations on mapping sentences.
@one 复杂类型的单独属性值映射.Required select属性,Indicates mappedSQLThe fully qualified name of the statement.
@Many 复杂类型的集合属性映射.Required select属性,Indicates mappedSQLThe fully qualified name of the statement.
@Param 当映射器方法需要多个参数时,This annotation can be applied to mapper method parameters to give each parameter a name.否则,多参数将会以它们的顺序位置和SQL语句中的表达式进行映射,这是默认的.
mybatisAnnotate the blog:
https://blog.csdn.net/guorui_java/article/details/108875682?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_utm_term-0&spm=1001.2101.3001.4242
https://blog.csdn.net/A_Runner/article/details/83956233?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162113397616780366519342%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=162113397616780366519342&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~hot_rank-1-83956233.first_rank_v2_pc_rank_v29&utm_term=mybatis%E5%B8%B8%E7%94%A8%E6%B3%A8%E8%A7%A3&spm=1018.2226.3001.4187
springAnnotate the blog
https://blog.csdn.net/weixin_44337261/article/details/90709450?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162113463916780269850406%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=162113463916780269850406&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2alltop_click~default-2-90709450.first_rank_v2_pc_rank_v29&utm_term=spring%E6%B3%A8%E8%A7%A3&spm=1018.2226.3001.4187
https://blog.csdn.net/guorui_java/article/details/107347754?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control
https://blog.csdn.net/u010648555/article/details/76299467?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162113463916780269850406%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=162113463916780269850406&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2alltop_positive~default-1-76299467.first_rank_v2_pc_rank_v29&utm_term=spring%E6%B3%A8%E8%A7%A3&spm=1018.2226.3001.4187
springmvcAnnotate the blog
https://blog.csdn.net/weixin_45082766/article/details/107198477?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162113535516780274141888%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=162113535516780274141888&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~hot_rank-9-107198477.first_rank_v2_pc_rank_v29&utm_term=springmvc%E5%B8%B8%E7%94%A8%E6%B3%A8%E8%A7%A3&spm=1018.2226.3001.4187
springbootAnnotate the blog
https://blog.csdn.net/qq_18298439/article/details/90294558?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162113477416780265475843%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=162113477416780265475843&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~hot_rank-4-90294558.first_rank_v2_pc_rank_v29&utm_term=springboot%E6%B3%A8%E8%A7%A3&spm=1018.2226.3001.4187
https://blog.csdn.net/weixin_40753536/article/details/81285046?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162113477416780265475843%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=162113477416780265475843&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~hot_rank-1-81285046.first_rank_v2_pc_rank_v29&utm_term=springboot%E6%B3%A8%E8%A7%A3&spm=1018.2226.3001.4187
https://blog.csdn.net/guorui_java/article/details/107379648?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162113527416780265450643%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=162113527416780265450643&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_v2~rank_v29-4-107379648.pc_v2_rank_blog_default&utm_term=spring&spm=1018.2226.3001.4450
https://blog.csdn.net/qq_18298439/article/details/90294558?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162113477416780265475843%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=162113477416780265475843&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~hot_rank-4-90294558.first_rank_v2_pc_rank_v29&utm_term=springboot%E6%B3%A8%E8%A7%A3&spm=1018.2226.3001.4187
https://blog.csdn.net/NaXieNianWoMenYiQ/article/details/109901541?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162389531216780269894995%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=162389531216780269894995&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~hot_rank-9-109901541.first_rank_v2_pc_rank_v29&utm_term=springboot%E5%B8%B8%E7%94%A8%E6%B3%A8%E8%A7%A3%E6%9C%89%E5%93%AA%E4%BA%9B%2C%E5%8F%8A%E4%BD%9C%E7%94%A8%3F&spm=1018.2226.3001.4187
边栏推荐
- 关于栈迁移的那些事儿
- xxl-job源码解析(技术分享)
- Wu En 07 regularization of teacher machine learning course notes
- [WeChat applet] WXSS and global, page configuration
- mysql数据库安装(详细)
- Interceptors and filters (3) @interface custom annotation interception
- The IDEA of Database plug-in Database Navigator plug-in
- 【云原生】-Docker容器迁移Oracle到MySQL
- TiCDC同步延迟问题处理
- 1.4, stack
猜你喜欢

ECCV 2022 | 基于关系查询的时序动作检测方法

"Pure theory" FPN (Feature Pyramid Network)

JVM内存模型如何分配的?

mysql数据库安装(详细)
![[based] GO language. Why do I have to learn Golang and introduction to the language universal](/img/ac/80ab67505f7df52d92a206bc3dd50e.png)
[based] GO language. Why do I have to learn Golang and introduction to the language universal
Based article 】 【 learn with Rust | Rust function and process control, rounding

CSDN TOP1 "a virgo program ape" how to become a blogger, millions of fans writing

TiFlash 源码阅读(五) DeltaTree 存储引擎设计及实现分析 - Part 2

Mysql进阶优化篇01——四万字详解数据库性能分析工具(深入、全面、详细,收藏备用)
![[GO语言基础] 一.为什么我要学习Golang以及GO语言入门普及](/img/ac/80ab67505f7df52d92a206bc3dd50e.png)
[GO语言基础] 一.为什么我要学习Golang以及GO语言入门普及
随机推荐
MIT指出公开预训练模型不能乱用
金仓数据库KingbaseES客户端编程接口指南-ODBC(8. 示例说明)
Codeforces Round # 797 (Div. 3) personal answer key
金仓数据库KingbaseES安全指南--6.7. GSSAPI身份验证
容器化 | 在 Rancher 中部署 MySQL 集群
2022-07-29日报:AlphaFold最新重大进展:完成几乎所有已知的2亿多蛋白质结构预测,完全开放
MySQL基础(DDL、DML、DQL)
SQL clock 】 【 daily DAY 21 丨 report the state of the system date of continuous difficulty difficult 】 【
微信H5网页分享只显示链接处理办法
Bookkeeping APP: Xiaoha Bookkeeping 3 - Production of Login Page
TiCDC Migration - TiDB to MySQL Test
拦截器与过滤器(三)@interface自定义注解拦截
金仓数据库KingbaseES客户端编程接口指南-ODBC(6. KingbaseES ODBC 的扩展属性)
2.3 Insertion sort
Interceptors and filters (3) @interface custom annotation interception
DAY 22 丨 page daily clock in SQL 】 【 recommend 【 difficulty moderate 】
【多线程】——深入理解线程中断方式(interrupt)
XSS Vulnerability Analysis
The IDEA of Database plug-in Database Navigator plug-in
获取list集合中重复的元素