ObjectDB Database Search

1-3 of 3 results

jakarta.persistence.MapKeyEnumerated

Jakarta Persistence (JPA) Annotation Type jakarta.persistence. MapKeyEnumerated Implemented ... is an enumerated type. The MapKeyEnumerated annotation can be applied to an element collection or ... . If the enumerated type is not specified or the MapKeyEnumerated annotation is not used

jakarta.persistence.MapKeyEnumerated.value

Jakarta Persistence (JPA) Method in jakarta.persistence. MapKeyEnumerated EnumType value (Optional) The type used in mapping a map key enum type. Default: EnumType.ORDINAL Since: Jakarta Persistence (JPA) 1.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