白白白

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  MyBatis

摘要:SQL预编译(使用PreparedStatement) http://353588249-qq-com.iteye.com/blog/904171 预编译的好处, 可缓存复用提高效率,防止sql注入 #{} ${} 动态语句的区别 cursor 游标 自定义函数中游标的使用 mybatis stat 阅读全文
posted @ 2017-07-11 08:11 道至简

摘要:调用service的 空构造方法 初始化service对象 后再查找service中的依赖对象并注入 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.class 中的inject(Ob 阅读全文
posted @ 2017-07-07 09:48 道至简

摘要:使用Mybatis时请注意这两个参数,否则会让你的数据库连接爆掉 : http://biancheng.dnbcw.net/mysql/420838.html too many connections 阅读全文
posted @ 2017-05-12 14:52 道至简

摘要:mybatis3 generator 阅读全文
posted @ 2017-01-22 15:18 道至简