Home » Search

About persistence unit

191-200 of 200Refresh
JPA Doc
9

javax.persistence.EntityListeners

javax.persistence Annotation EntityListeners Target: Classes Specifies the callback listener classes to be used for an entity or mapped superclass. This annotation may be applied to an entity class or mapped superclass. Since: JPA 1.0 Learn how to define and use entity listeners in Chapter 3
JPA Doc
9

javax.persistence.EntityResult

javax.persistence Annotation EntityResult Target: Used to map the SELECT clause of a SQL query to an entity result. If this annotation is used, the SQL statement should select all of the columns that are mapped to the entity object. This should include foreign key columns to related entities
JPA Doc
9

javax.persistence.EntityTransaction

javax.persistence Interface EntityTransaction Interface used to control transactions on resource-local entity managers. The EntityManager.getTransaction() method returns the EntityTransaction interface. Since: JPA 1.0 Learn how to use EntityTransaction in Chapter 3 of the ObjectDB/JPA manual. void
JPA Doc
9

javax.persistence.ExcludeDefaultListeners

javax.persistence Annotation ExcludeDefaultListeners Target: Classes Specifies that the invocation of default listeners is to be excluded for the entity class (or mapped superclass) and its subclasses. Since: JPA 1.0 Learn how to define and use entity listeners in Chapter 3 of the ObjectDB/JPA
JPA Doc
9

javax.persistence.ExcludeSuperclassListeners

javax.persistence Annotation ExcludeSuperclassListeners Target: Classes Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses. Since: JPA 1.0 Learn how to define and use entity listeners in Chapter 3 of the ObjectDB
JPA Doc
9

javax.persistence.Id

javax.persistence Annotation Id Target: Fields (including property get methods) Specifies the primary key of an entity. The field or property to which the Id annotation is applied should be one of the following types: any Java primitive type; any primitive wrapper type; String; java.util.Date; java
JPA Doc
9

javax.persistence.IdClass

javax.persistence Annotation IdClass Target: Classes Specifies a composite primary key class that is mapped to multiple fields or properties of the entity. The names of the fields or properties in the primary key class and the primary key fields or properties of the entity must correspond
JPA Doc
9

javax.persistence.JoinColumns

javax.persistence Annotation JoinColumns Target: Fields (including property get methods) Defines mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same relationship. When the JoinColumns annotation is used, both the name and the referencedColumnName elements
JPA Doc
9

javax.persistence.JoinTable

javax.persistence Annotation JoinTable Target: Fields (including property get methods) Used in the mapping of associations. It is specified on the owning side of an association. A join table is typically used in the mapping of many-to-many and unidirectional one-to-many associations
JPA Doc
9

javax.persistence.MapKeyClass

javax.persistence Annotation MapKeyClass Target: Fields (including property get methods) Specifies 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