MyBatis笔记----@Intercepts({@Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class

使用MyBatis 3.4.1或者其以上版本

@Intercepts({  

@Signature(type = StatementHandler.class,  
method = "prepare",  
args = {Connection.class, Integer.class})}) 

 

使用MyBatis 3.4.1(不包含)以下

@Intercepts({  

@Signature(type = StatementHandler.class,  
method = "prepare",  
args = {Connection.class})})

原文地址:https://www.cnblogs.com/tk55/p/6675824.html