Home » Search

About persistence

171-180 of 200Refresh
JPA Doc
23

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
23

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
23

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
23

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
23

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
23

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
JPA Doc
23

javax.persistence.MapKeyJoinColumns

javax.persistence Annotation MapKeyJoinColumns Target: Fields (including property get methods) Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation is used, both the name
JPA Doc
23

javax.persistence.MappedSuperclass

javax.persistence Annotation MappedSuperclass Target: Classes Designates a class whose mapping information is applied to the entities that inherit from it. A mapped superclass has no separate table defined for it. A class designated with the MappedSuperclass annotation can be mapped in the same way
JPA Doc
23

javax.persistence.MapsId

javax.persistence Annotation MapsId Target: Fields (including property get methods) Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or a simple primary key of the parent entity
JPA Doc
23

javax.persistence.metamodel.Bindable

javax.persistence.metamodel Interface Bindable Subinterfaces: CollectionAttribute, EntityType, ListAttribute, MapAttribute, PluralAttribute, SetAttribute, SingularAttribute Instances of the type Bindable represent object or attribute types that can be bound into a Path. Since: JPA 2.0 Class