看的真心有点懵,不过mybatis3.4中,拦截器注解arg数组中有两个元素args = { Connection.class, Integer.class },还有一个就是MetaObject 是三个参数,MetaObject metaObject = MetaObject.forObject(statementHandler, SystemMetaObject.DEFAULT_OBJECT_FACTORY,
SystemMetaObject.DEFAULT_OBJECT_WRAPPER_FACTORY, new DefaultReflectorFactory());
SystemMetaObject.DEFAULT_OBJECT_WRAPPER_FACTORY, new DefaultReflectorFactory());
2016-12-08