附加新备份的数据库后,出现异常:
Caused by: org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.mytest.User.setPrimaryAccount
在我的用户类中,我有这些字段:
...
private boolean isPrimaryAccount;
public boolean getPrimaryAccount() {
return isPrimaryAccount;
}
public void setPrimaryAccount(boolean primaryAccount) {
isPrimaryAccount = primaryAccount;
}
...
而这里的异常引用,是从什么开始给出异常的?