ObjectDB ObjectDB

Internal Website Search

1-4 of 4 resultsRefresh
112

javax.persistence.MapKeyTemporal

javax.persistence Annotation MapKeyTemporal Target: Fields (including property get methods ... . It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied ... with the ElementCollection, OneToMany, or ManyToMany annotation. Example: @OneToMany @MapKeyTemporal(DATE
104

MapKeyTemporal.value

Annotation Element javax.persistence.MapKeyTemporal TemporalType value (Required) The type used in mapping java.util.Date or java.util.Calendar. Since: JPA 2.0
33

JPA Annotations for Fields

Reference (JavaDoc) of JPA 2 field annotations, including @Basic, @Embedded, @EmbeddedId, @Version, @Transient, @Enumerated, @MapKeyEnumerated, @Temporal and @MapKeyTemporal.
25

How to use JOIN FETCH?

.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.MapKeyTemporal; import ... private long id;   private String name;   @OneToMany   @MapKeyTemporal(TemporalType.DATE

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