mybatis 3.3.3 public static MetaObject forObject(Object object, ObjectFactory objectFactory, ObjectWrapperFactory objectWrapperFactory, ReflectorFactory reflectorFactory) ,我在使用MetaObject.forObject时候报错,发现在mybatis3.3.3中要传人4个参数,老师怎么解决??
可以通过SystemMetaObject.forObject(Object object)方法来获得metaObject对象,下面是github上的代码。
https://github.com/mybatis/mybatis-3/blob/master/src/main/java/org/apache/ibatis/reflection/SystemMetaObject.java
同问!