Home » Search

About JPA

101-110 of 200Refresh
JPA Doc
20

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
20

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

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
19

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
19

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

javax.persistence.EntityManager

database. Since: JPA 1.0 See Also: Query TypedQuery CriteriaQuery PersistenceContext Learn how to use EntityManager in Chapter 3 of the ObjectDB/JPA manual. void clear() Clear the persistence context ... be persisted. Since: JPA 1.0 void close() Close an application-managed entity manager. Close
JPA Doc
19

javax.persistence.metamodel.IdentifiableType

entity or mapped superclass types. Since: JPA 2.0 Attribute getAttribute(String name) Return ... of the given name is not present in the managed type Since: JPA 2.0 Set< Attribute> getAttributes ... of the managed type Since: JPA 2.0 CollectionAttribute getCollection(String name) Return
JPA Doc
19

javax.persistence.metamodel.MappedSuperclassType

types. Since: JPA 2.0 Attribute getAttribute(String name) Return the attribute of the managed type ... the managed type Since: JPA 2.0 Set< Attribute> getAttributes() Return the attributes ... Since: JPA 2.0 CollectionAttribute getCollection(String name) Return the Collection-valued attribute
JPA Doc
18

javax.persistence.Query

execution. Since: JPA 1.0 See Also: TypedQuery 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 statement ... back Since: JPA 1.0 int getFirstResult() The position of the first result the query object was set
JPA Doc
18

javax.persistence.criteria.CriteriaQuery

> The CriteriaQuery interface defines functionality that is specific to top-level queries. Since: JPA 2.0 Learn how to define queries using the criteria API in Chapter 4 of the ObjectDB/JPA manual.   AbstractQuery ... query Since: JPA 2.0 CriteriaQuery distinct(boolean distinct) Specify whether duplicate query