ObjectDB ObjectDB

Internal Website Search

1-3 of 3 resultsRefresh
119

javax.persistence.MapKeyEnumerated

javax.persistence Annotation MapKeyEnumerated Target: Fields (including property get methods) Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated ... specified or the MapKeyEnumerated annotation is not used, the enumerated type is assumed to be ORDINAL
108

MapKeyEnumerated.value

Annotation Element javax.persistence.MapKeyEnumerated EnumType value (Optional) The type used in mapping a map key enum type. Default value: javax.persistence.EnumType.ORDINAL Since: JPA 2.0
32

Why are my Map entries not stored?

",     orphanRemoval=true) @MapKeyEnumerated(EnumType.STRING)     private Map<State, Authority> states = new ... =CascadeType.ALL, orphanRemoval=true) @MapKey(name="state") @MapKeyEnumerated(EnumType.STRING ... mappedBy and the key field, e.g. using MapKeyEnumerated. Otherwise ObjectDB will not have the minimum

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support