出现此错误的原因是MyBatis 3.4.0 之后,StatementHandler的prepare方法做了修改,如下:
在args = { Connection.class }中添加第二个参数,即
@Intercepts({ @Signature(type = StatementHandler.class, method = "prepare", args = { Connection.class,Integer.class }) })
出现此错误的原因是MyBatis 3.4.0 之后,StatementHandler的prepare方法做了修改,如下:
在args = { Connection.class }中添加第二个参数,即
@Intercepts({ @Signature(type = StatementHandler.class, method = "prepare", args = { Connection.class,Integer.class }) })
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。