![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
码上论剑
建立自我,追求无我
展开
-
mybatis idea 模板的创建 与mapper文件的创建
idea创建File and Code TemplatesFile-> Edit->File and Code Templates 新建 找到对应的文件 新建模板完成2.idea mapper智能提示做完这些idea 可以智能提示了原创 2018-03-16 15:37:35 · 18296 阅读 · 5 评论 -
MYBATIS的优点
1,消除了大量的jdbc代码2,很好的与传统的数据库协调工作3,可以接受SQL语句4,提供和spring和Guice 框架的集成和支持5,提供缓存6,性能好原创 2018-03-19 17:41:43 · 1010 阅读 · 0 评论 -
mybatis 配置
打印sql 设置<setting name="logImpl" value="STDOUT_LOGGING" />原创 2018-03-20 17:05:45 · 116 阅读 · 0 评论 -
mybatis plugin 开发
博客 @Intercepts({ @Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class})}) public class PagingInterceptor implements Interceptor { ...... } type告诉要拦截什么...原创 2018-03-21 18:03:52 · 176 阅读 · 0 评论 -
idea mybatis 常用的插件
1.intellij-mybatis-plugin 作用 1.跳转 2.提示错误 3.获取id 4.获取方法的参数 2....原创 2019-01-21 17:52:49 · 4730 阅读 · 0 评论 -
idea链接数据库
第一步设置链接参数 2.指定 数据库和schma 3/第三步效果 正确有颜色提示 提示数据库的字段原创 2019-01-21 19:20:32 · 221 阅读 · 0 评论