About JPA

141-150 of 200Refresh
JPA Doc
18

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
18

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
18

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
18

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
18

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

javax.persistence.criteria.From

belonging to the type. Since: JPA 2.0 Selection alias(String name) Assigns an alias to the selection ... . Returns the same selection item. Parameters: name - alias Returns: selection item Since: JPA 2.0 ... Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using
JPA Doc
17

javax.persistence.criteria.Subquery

to subqueries. A subquery has an expression as its selection item. Since: JPA 2.0 Selection alias(String ... Returns: selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast ... : new expression of the given type Since: JPA 2.0 Root correlate( Root parentRoot) Create
JPA Doc
17

javax.persistence.metamodel.EntityType

, ManagedType, Type Instances of the type EntityType represent entity types. Since: JPA 2.0 ... Since: JPA 2.0 Set< Attribute> getAttributes() Return the attributes of the managed type. Return the attributes of the managed type. Returns: attributes of the managed type Since: JPA 2.0 Class