Community
Participate
Working Groups
Build Identifier: I20110512-2000 1. An Enumerated annotation/element specifies that a persistent property or field should be persisted as a enumerated type. The Enumerated annotation may be used in conjunction with the Basic annotation/element or ElementCollection annotation/element when the element collection value is of basic type. Validation error should be reported if the type of a persistent property/field or the type of the value of an element collection is not a enumerated type when Enumerated annotation/element applies. 2. The MapKeyEnumerated annotation/element is used to specify the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated annotation/element can be applied to an element collection or relationship of type java.util.Map, in conjunction with the ElementCollection, OneToMany, or ManyToMany annotation/element. Validation error should be reported if the type of a map key is not a enumerated type when the MapKeyEnumerated annotation/element applies. Reproducible: Always
Moving JPA specific bugs to new JPA component in bugzilla.