when I add Interceptor to my project.I found an error which says
There is no getter for property named 'delegate' in 'class com.sun.proxy.$Proxy398'
the detail:
@Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class,
Integer.class})
})
StatementHandler statementHandler = (StatementHandler) invocation.getTarget();
MetaObject metaObject = SystemMetaObject.forObject(statementHandler);
//obtain mappedStatement
MappedStatement mappedStatement = (MappedStatement) metaObject.getValue("delegate.mappedStatement");
the error occur in the lastest code
MappedStatement mappedStatement = (MappedStatement) metaObject.getValue("delegate.mappedStatement");