9 | javax.persistence.criteria Interface Expression<T> Superinterfaces: Selection<T>, TupleElement<T> Subinterfaces: CollectionJoin, Case, Coalesce, In, SimpleCase, From, Join, ListJoin, MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, SetJoin, Subquery Type for query expressions |
9 | javax.persistence.criteria Interface CompoundSelection<X> Superinterfaces: Selection<X>, TupleElement<X> The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor). Since: JPA 2.0 Selection<X> alias(String name) Assigns an alias to the selection item |
9 | javax.persistence Annotation PostRemove Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA |
9 | javax.persistence.criteria Interface ListJoin<Z,E> Superinterfaces: Expression<E>, FetchParent<Z,E>, From<Z,E>, Join<Z,E>, Path<E>, PluralJoin<Z,List<E>,E>, Selection<E>, TupleElement<E> The ListJoin interface is the type of the result of joining to a collection over an association or element |
9 | 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 |
9 | 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 |
9 | javax.persistence.metamodel Annotation StaticMetamodel Target: Classes The StaticMetamodel annotation specifies that the class is a metamodel class that represents the entity, mapped superclass, or embeddable class designated by the value element. Since: JPA 2.0 Class<?> value Class being modeled |
9 | javax.persistence.criteria Interface Selection<X> Superinterfaces: TupleElement<X> Subinterfaces: CollectionJoin, CompoundSelection, Case, Coalesce, In, SimpleCase, Expression, From, Join, ListJoin, MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, SetJoin, Subquery The Selection |
9 | javax.persistence Annotation Version Target: Fields (including property get methods) Specifies the version field or property of an entity class that serves as its optimistic lock value. The version is used to ensure integrity when performing the merge operation and for optimistic concurrency |
9 | 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 |