JPASupport getter detected by JPA as non-transient
Bug #597204 reported by
Michel Turpin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
New
|
Undecided
|
Unassigned |
Bug Description
I got a bug from JPA on my JPASupport extended classes trying to reach a field "entityId".
All annotations attached to other fields were on my getters, as reverse engineered by Netbeans, so I suppose JPA automatically looked at all of them. I had to copy/paste all my annotations on the fields.
The problem is the "getEntityId()" is taken as a valid field to my all classes.
I suggest one of these :
- The @javax.
- The method is renamed in the next versions excluding the "get" prefix.
To post a comment you must log in.