About mapped superclass

141-150 of 200Refresh
JPA Doc
2

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener
Manual
2

Deleting JPA Entity Objects

objects. Orphan removal can also be set for collection and map fields. For example: @Entity class
Manual
2

Entity Management Settings

, which is not an entity class, mapped super class or embeddable class). The element
FAQ
2

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 Objects (JDO) API. ObjectDB is a full featured
JDO Doc
2

javax.jdo.PersistenceManagerFactory

getMapping() Get the Mapping setting for this factory. Get the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Returns: the Mapping setting. Since: JDO 1.0 ... setMapping(String mapping) Set the Mapping setting for this factory. Set the Mapping setting
JPA Doc
2

javax.persistence.MapKeyClass

the type of the map key for associations of type java.util.Map. The map key can be a basic type, an embeddable class, or an entity. If the map is specified using Java generics, the MapKeyClass ... ; ... @ElementCollection(targetClass=String.class) @MapKeyClass(String.class) Map images
JPA Doc
2

javax.persistence.criteria.CriteriaBuilder

Expression> keys(M map) Create an expression that returns the keys of a map. Create an expression that returns the keys of a map. Parameters: map - map Returns: set expression Since: JPA 2.0 ... to convert to uppercase Since: JPA 2.0 Expression> values(M map) Create an expression
JPA Doc
2

javax.persistence.EntityManager

that are related or grouped by the application, and which must be colocated in their mapping to a single ... resultSetMapping - the name of the result set mapping Returns: the new query instance Since: JPA 1.0 Query ...  primaryKey, Map properties) Find by primary key, using the specified properties. Find by
JPA Doc
2

javax.persistence.spi.PersistenceUnitInfo

classes Since: JPA 1.0 List getMappingFileNames() Returns the list of the names of the mapping files that the persistence provider must load to determine the mappings for the entity classes. Returns the list of the names of the mapping files that the persistence provider must load to determine
JPA Doc
2

MapKeyColumn.name

Annotation Element javax.persistence.MapKeyColumn String name (Optional) The name of the map key column. The table in which it is found depends upon the context. If the map key is for an element collection, the map key column is in the collection table for the map value. If the map key