
mybatis
丁乾文
苞米豆开源社区成员
展开
-
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.Persiste
报错信息org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.NullPointerException### The error may exist in file [<?>.xml]### The error may in原创 2021-11-09 15:57:43 · 2731 阅读 · 0 评论 -
几行代码带你解读mybatis框架的mapper代理模式
1.在ibatis之后的mybatis提供了一个全新的开发模式,mapper代理模式,就是所谓aop面向切面编程,用的方案为jdk提供的proxy动态代理,或者是cglib提供的动态代理,在我们了解了底层之后,就可以动手写代码了.public class SqlSession { /** * * @Title: getMapper * @Description: TODO ...原创 2019-01-22 15:24:08 · 481 阅读 · 0 评论