There is a discussion about XML overriding rules in Section 12.2 of the JPA 2.0 spec.
Are the following overrides possible?
1) Can an @Entity annotation be overridden using XML <mapped-superclass> or
<embeddable>?
2) Can a @Mappedsuperclass annotation be overridden using XML <entity> or
<embeddable>?
3) Can a @Embeddable annotation be overridden using XML <entity> or
<mapped-superclass>?
Supporting this would obviously affect the Hierarchical domain info.
If any of these overrides are valid, then we should discuss this at the Tuesday morning
meeting.
Regards,
Gail
Show replies by date