JPASupport getter detected by JPA as non-transient

Bug #597204 reported by Michel Turpin
6
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.persistance.Transient annotation is added to this method
- The method is renamed in the next versions excluding the "get" prefix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.