Community
Participate
Working Groups
Build Identifier: I20110519-1138 By default, a single access type (field or property access) applies to an entity hierarchy. It's an error if a default access type cannot be determined and an access type is not explicitly specified by means of annotations or the XML descriptor. The behavior of applications that mix the placement of annotations on fields and properties within an entity hierarchy without explicitly specifying the Access annotation is undefined. Two cases may be considered: 1. Both mapped superclass and entity use default access type, but one places annotations on the persistent fields while the other on properties. 2. Both entity and its embedded object use default access type, but one places annotations on the persistent fields while the other on properties. Under both cases, a validate error should be reported to indicate incompatible access types. Reproducible: Always
Moving JPA specific bugs to new JPA component in bugzilla.