mybatis-plugins mybatis-tools
来源:互联网 发布:淘宝哪家mcm高仿 编辑:程序博客网 时间:2024/05/23 01:11
Intellij Idea Mybatis插件主要有 Mybatis plugin插件和Mybatis tools插件。
(一)Mybatis plugin插件主要功能有:
提供Mapper接口与配置文件中对应SQL的导航
编辑XML文件时自动补全
根据Mapper接口, 使用快捷键生成xml文件及SQL标签
ResultMap中的property支持自动补全,支持级联(属性A.属性B.属性C)
快捷键生成@Param注解
XML中编辑SQL时, 括号自动补全
XML中编辑SQL时, 支持参数自动补全(基于@Param注解识别参数)
自动检查Mapper XML文件中ID冲突
自动检查Mapper XML文件中错误的属性值
支持Find Usage
支持重构从命名
支持别名
自动生成ResultMap属性
快捷键: Option + Enter(Mac) | Alt + Enter(Windows)
(二)Mybatis tools插件主要功能有:
1)提供Mapper接口方法与XML配置文件中对应SQL自由切换导航。
2)提供Mapper接口方法调用明细。
说明截图如下:
(三)、Intellj Idea15中安装Myabtis插件
选择File->Settings->Plugins,在上图窗口中,选择Browse repositores,在搜索框中输入”mybatis”,分别选择安装Mybatis plugin和Mybatis tools插件,点击Install安装插件。
转自:http://blog.csdn.net/yangshijin1988/article/details/63258960
- mybatis-plugins mybatis-tools
- MyBatis 教程 - MyBatis插件(Plugins)开发
- Mybatis配置文件之plugins使用
- mybatis中typeHandlers,ObjectFactory,plugins学习
- mybatis-全局配置文件-mybatis-config.xml- plugins-7
- mybatis generator tools配置文件解析
- mybatis generator tools配置文件解析
- Mybatis源码分析之插件(plugins)源码详解
- MyBatis
- MyBatis
- Mybatis
- myBatis
- mybatis
- MyBatis
- mybatis
- Mybatis
- MyBatis
- Mybatis
- Rstudio-处理缺失值的方法
- c++调用lua,lua调用c++
- Codejam之Bathroom Stalls
- 更改ssh服务远程登录配置
- STARKs, Part I: 多项式证明
- mybatis-plugins mybatis-tools
- JDK容器学习之TreeMap (二) : 使用说明
- System类
- 解决./exam5-5: error while loading shared libraries: libdemo.so: cannot open shared object file:
- 【安卓学习笔记】 JAVA基础-异常
- ActorCritic学习笔记
- Docker镜像下载缓慢解决方法
- 继承(C++)
- 摩尔定律与电子产品价格的关系