@Intercepts({@Signature(type=StatementHandler.class,method="prepare",args={Connection.class})})
以上源码中注释@Intercepts会报错,方法"prepare"有两个参数,需要在args中添加Integer.class:
@Intercepts({@Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class, Integer.class})})
以上源码中注释@Intercepts会报错,方法"prepare"有两个参数,需要在args中添加Integer.class:
@Intercepts({@Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class, Integer.class})})
2016-06-07