You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have a @MappedSuperClass but all the non-static fields on your Model class are annotated with @transient. That means there are no persistent properties on this particular @MappedSuperClass bean and hence it should not need to be enhanced.
Currently you are seeing a IllegalStateException("Super type ameaba.db.model.Model is not enhanced?"). What you want is for Ebean to check that this particular class has no persistence properties (non transient fields) and hence should pass the check even though it is not enhanced.
I understand the issue, I'll look into some more but I expect to be able to fix this issue.
The text was updated successfully, but these errors were encountered:
Ok, I'm pretty sure I understand.
You have a @MappedSuperClass but all the non-static fields on your Model class are annotated with @transient. That means there are no persistent properties on this particular @MappedSuperClass bean and hence it should not need to be enhanced.
Currently you are seeing a IllegalStateException("Super type ameaba.db.model.Model is not enhanced?"). What you want is for Ebean to check that this particular class has no persistence properties (non transient fields) and hence should pass the check even though it is not enhanced.
I understand the issue, I'll look into some more but I expect to be able to fix this issue.
The text was updated successfully, but these errors were encountered: