About JPA

91-100 of 200Refresh
JPA Doc
32

JPA Annotations for Value Generation

Reference (JavaDoc) of JPA 2 value generation annotations, including @GeneratedValue, @SequenceGenerator and @TableGenerator.
JPA Doc
22

javax.persistence.criteria.CriteriaBuilder

. Since: JPA 2.0 Learn how to define queries using the criteria API in Chapter 4 of the ObjectDB/JPA manual ... - expression Returns: absolute value Since: JPA 2.0 Expression all( Subquery subquery) Create ... : subquery - subquery Returns: all expression Since: JPA 2.0 Predicate and( Predicate... restrictions
JPA Doc
18

javax.persistence.criteria.MapJoin

collection that has been specified as a java.util.Map. Since: JPA 2.0 Selection alias(String name ... : selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast ... expression of the given type Since: JPA 2.0 Expression> entry() Create an expression
JPA Doc
17

javax.persistence.criteria.Join

, PluralJoin, SetJoin A join to an entity, embeddable, or basic type. Since: JPA 2.0 Learn how to use JPA criteria API's Join in Chapter 4 of the ObjectDB/JPA manual. Selection alias(String name ... : selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast upon the expression
JPA Doc
17

javax.persistence.criteria.ListJoin

collection that has been specified as a java.util.List. Since: JPA 2.0 Selection alias(String name ... : selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast ... expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join
JPA Doc
17

javax.persistence.criteria.CollectionJoin

over an association or element collection that has been specified as a java.util.Collection. Since: JPA 2.0 Selection ... . Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as(Class type) Perform ... of the expression Returns: new expression of the given type Since: JPA 2.0 Fetch fetch(String
JPA Doc
17

javax.persistence.criteria.PluralJoin

to all collection types. It is not intended to be used directly in query construction. Since: JPA 2.0 ... . Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as(Class type ... of the expression Returns: new expression of the given type Since: JPA 2.0 Fetch fetch(String
JPA Doc
17

javax.persistence.criteria.SetJoin

collection that has been specified as a java.util.Set. Since: JPA 2.0 Selection alias(String name ... : selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast upon the expression ... expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join
JPA Doc
17

javax.persistence.criteria.Root

always reference entities. Since: JPA 2.0 Learn how to use JPA criteria API's Root in Chapter 4 of the ObjectDB/JPA manual. Selection alias(String name) Assigns an alias to the selection item. Assigns ... selection item. Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as
JPA Doc
17

javax.persistence.TypedQuery

the execution of typed queries. Since: JPA 2.0 See Also: Query Parameter Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete ... and the transaction is rolled back Since: JPA 1.0 int getFirstResult() The position of the first result the query