About map


JPA Annotations for Mapping (ORM)

Reference (JavaDoc) of JPA 2 ORM annotations. The following JPA annotations and enums are designated for mapping a JPA object model to a relational database, and are not required by ObjectDB: javax.persistence.AssociationOverride javax.persistence.AssociationOverrides ...


Is ObjectDB better than Object Relational Mapping (ORM)?

As noted above, using ObjectDB instead of a relational database and ORM combination is easier and leads to better performance. ORM tools, however, are very useful where the use of a relational database is mandatory (e.g. as a result of a customer reques ...


JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... . DATE TemporalType.DATE enum constant Map as java.sql.Date See JavaDoc Reference Page... ) java. ... . DATE TemporalType.DATE enum constant Map as java.sql.Date See JavaDoc Reference Page... ) java. ...


JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file. A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit is optional when using ObjectDB, but required by JPA. ...


Can I use ObjectDB to access a relational database?

To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus. The DataNucleus ORM implementation supports also the Java Data O ...


JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... available for inverse fields whose type is List or Map . For an inverse list field, the order of the retrieved owner entities can ... a sortable field of the owner side. For an inverse map field, the keys can be extracted from the inverse query results by ...


Collections in JPQL and Criteria Queries

Shows how collections and maps can be used in JPQL queries. Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments. as  path expressions - in navigation to persistent collection fields. This page covers the ...



Create a new application-managed EntityManager with the specified Map of properties.(Method of javax.persistence.EntityManagerFactory)



Used to override a mapping for an entity relationship.(Annotation of JPA)


getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

Returns a PersistenceManagerFactory configured based on the properties stored in the resource at name, or, if not found, returns a PersistenceManagerFactory with the given name or, if not found, returns a javax.persistence.EntityManagerFactory cast to a PersistenceManagerFactory.(Static Method of javax.jdo.JDOHelper)