After attaching newly backuped database, I'm getting an exception:
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
In my User class, I have these fields:
...
private boolean isPrimaryAccount;
public boolean getPrimaryAccount() {
return isPrimaryAccount;
}
public void setPrimaryAccount(boolean primaryAccount) {
isPrimaryAccount = primaryAccount;
}
...
And exception referencing to here, from what it started giving an exception?