出現此錯誤的原因是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刪除。