@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