About persistence

181-190 of 200Refresh
JPA Doc
24

javax.persistence.PrimaryKeyJoinColumn

javax.persistence Annotation PrimaryKeyJoinColumn Target: Classes and fields (including property get methods) Specifies a primary key column that is used as a foreign key to join to another table. It is used to join the primary table of an entity subclass in the JOINED mapping strategy
JPA Doc
24

javax.persistence.PrimaryKeyJoinColumns

javax.persistence Annotation PrimaryKeyJoinColumns Target: Classes and fields (including property get methods) Groups PrimaryKeyJoinColumn annotations. It is used to map composite foreign keys. Example: ValuedCustomer subclass @Entity @Table(name="VCUST") @DiscriminatorValue("VCUST
JPA Doc
24

javax.persistence.QueryHint

javax.persistence Annotation QueryHint Target: Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation. Vendor-specific hints that are not recognized by a provider are ignored. Since: JPA 1.0 String name Name of the hint. Name of the hint. Since: JPA 1.0 String
JPA Doc
24

javax.persistence.SecondaryTables

javax.persistence Annotation SecondaryTables Target: Classes Specifies multiple secondary tables for an entity. Example 1: Multiple secondary tables assuming primary key columns are named the same in all tables. @Entity @Table(name="EMPLOYEE") @SecondaryTables
JPA Doc
24

javax.persistence.SqlResultSetMapping

javax.persistence Annotation SqlResultSetMapping Target: Classes Specifies the mapping of the result of a native SQL query. Example: Query q = em.createNativeQuery( "SELECT o.id AS order_id, " + "o.quantity AS order_quantity, " + "o.item AS order_item
JPA Doc
24

javax.persistence.SqlResultSetMappings

javax.persistence Annotation SqlResultSetMappings Target: Classes Is used to define one or more SqlResultSetMapping annotations. Since: JPA 1.0 SqlResultSetMapping[] value One or more SqlResultSetMapping annotations. One or more SqlResultSetMapping annotations. Since: JPA 1.0
JPA Doc
24

javax.persistence.Table

javax.persistence Annotation Table Target: Classes Specifies the primary table for the annotated entity. Additional tables may be specified using SecondaryTable or SecondaryTables annotation. If no Table annotation is specified for an entity class, the default values apply. Example: @Entity
JPA Doc
24

javax.persistence.Tuple

javax.persistence Interface Tuple Interface for extracting the elements of a query result tuple. Since: JPA 2.0 See Also: TupleElement Object get(int i) Get the value of the element at the specified position in the result tuple. Get the value of the element at the specified position in the result
JPA Doc
24

javax.persistence.TupleElement

javax.persistence Interface TupleElement Subinterfaces: CollectionJoin, CompoundSelection, Case, Coalesce, In, SimpleCase, Expression, From, Join, ListJoin, MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, Selection, SetJoin, Subquery The TupleElement interface defines an element
JPA Doc
24

javax.persistence.UniqueConstraint

javax.persistence Annotation UniqueConstraint Target: Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table. Example: @Entity @Table( name="EMPLOYEE", uniqueConstraints= @UniqueConstraint(columnNames={"EMP_ID