ObjectDB Database Search
1-3 of 3 results| AnnotationRef jakarta.persistence.MapKeyEnumerated JPA Annotation MapKeyEnumerated Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated annotation ... specified or the MapKeyEnumerated annotation is not used, the enumerated type is assumed to be ORDINAL | |
| AnnotationAttrRef jakarta.persistence.MapKeyEnumerated.value JPA Annotation Attribute in jakarta.persistence. MapKeyEnumerated EnumType value default EnumType.ORDINAL (Optional) The type used in mapping a map key enum type. Since: JPA 2.0  | |
| Why are my Map entries not stored?) @ MapKeyEnumerated (EnumType.STRING)     private Map states = new HashMap (); } @Entity ... = FetchType.EAGER, cascade=CascadeType.ALL, orphanRemoval=true) @MapKey(name="state") @ MapKeyEnumerated ... that class in mappedBy and the key field, e.g. using MapKeyEnumerated . Otherwise ObjectDB will not |