About mapped


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.... are: User defined classes - Entity classes, Mapped superclasses, Embeddable classes. Simple Java data types: ... topics: Entity Classes Mapped Superclasses Embeddable Classes Simple Java ...


JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file.... classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit is ... classes (entity classes, embeddable classes and mapped superclasses), which are referred to by JPA as managed classes, as part ...


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.... defined classes (entity classes, embeddable classes and mapped superclasses) can be classified into the following five groups: ... Persistent fields Inverse (Mapped By) fields Primary key (ID) fields Version ...


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)