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