Internal Website Search
101-150 of 200 resultsLockTimeoutException.LockTimeoutException() - JPA Constructor JPA Constructor in javax.persistence.LockTimeoutException LockTimeoutException () Constructs a new LockTimeoutException exception with null as its detail message. Since: JPA 2.0 | |
PluralAttribute.getCollectionType() - JPA Method JPA Method in javax.persistence.metamodel.PluralAttribute PluralAttribute .CollectionType getCollectionType () Return the collection type. Return: collection type Since: JPA 2.0 | |
PluralAttribute.getElementType() - JPA Method JPA Method in javax.persistence.metamodel.PluralAttribute Type getElementType () Return the type representing the element type of the collection. Return: element type Since: JPA 2.0 | |
PessimisticLockException.PessimisticLockException(cause) - JPA Constructor JPA Constructor in javax.persistence.PessimisticLockException PessimisticLockException ( Throwable cause ) Constructs a new PessimisticLockException exception with the specified cause. Parameters: cause - the cause. Since: JPA 2.0 | |
PessimisticLockException.PessimisticLockException(message) - JPA Constructor JPA Constructor in javax.persistence.PessimisticLockException PessimisticLockException ( String message ) Constructs a new PessimisticLockException exception with the specified detail message. Parameters: message - the detail message. Since: JPA 2.0 | |
CriteriaQuery.groupBy(grouping) - JPA Method JPA Method in javax.persistence.criteria.CriteriaQuery CriteriaQuery groupBy ( Expression ... grouping ) Specify the expressions that are used to form groups over the query results ... the return type of the corresponding AbstractQuery method. Parameters: grouping - zero or more grouping expressions Return: the modified query Since: JPA 2.0 | |
CriteriaQuery.groupBy(grouping) - JPA Method JPA Method in javax.persistence.criteria.CriteriaQuery CriteriaQuery groupBy ( List grouping ) Specify the expressions that are used to form groups over the query results. Replaces ... of the corresponding AbstractQuery method. Parameters: grouping - list of zero or more grouping expressions Return: the modified query Since: JPA 2.0 | |
SingularAttribute.isOptional() - JPA Method JPA Method in javax.persistence.metamodel.SingularAttribute boolean isOptional () Can the attribute be null. Return: boolean indicating whether the attribute can be null Since: JPA 2.0 | |
PessimisticLockException.PessimisticLockException(message,cause) - JPA Constructor JPA Constructor in javax.persistence.PessimisticLockException PessimisticLockException ( String message, Throwable cause ) Constructs a new PessimisticLockException exception with the specified detail message and cause. Parameters: message - the detail message. cause - the cause. Since: JPA 2.0 | |
LockTimeoutException.getObject() - JPA Method JPA Method in javax.persistence.LockTimeoutException Object getObject () Returns the object that caused this exception. Return: the entity Since: JPA 2.0 | |
Predicate.getExpressions() - JPA Method JPA Method in javax.persistence.criteria.Predicate List getExpressions () Return the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate. Modifications to the list do not affect the query. Return: list of boolean expressions forming the predicate Since: JPA 2.0 | |
CriteriaQuery.where(restrictions) - JPA Method JPA Method in javax.persistence.criteria.CriteriaQuery CriteriaQuery where ( Predicate... restrictions ) Modify the query to restrict the query result according to the conjunction ... or more restriction predicates Return: the modified query Since: JPA 2.0 | |
SingularAttribute.isId() - JPA Method JPA Method in javax.persistence.metamodel.SingularAttribute boolean isId () Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Return: boolean indicating whether the attribute is an id Since: JPA 2.0 | |
SingularAttribute.isVersion() - JPA Method JPA Method in javax.persistence.metamodel.SingularAttribute boolean isVersion () Is the attribute a version attribute. Return: boolean indicating whether the attribute is a version attribute Since: JPA 2.0 | |
Predicate.not() - JPA Method JPA Method in javax.persistence.criteria.Predicate Predicate not () Create a negation of the predicate. Return: negated predicate Since: JPA 2.0 | |
LockTimeoutException.LockTimeoutException(message,cause,entity) - JPA Constructor JPA Constructor in javax.persistence.LockTimeoutException LockTimeoutException ( String message, Throwable cause, Object entity ... . Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 2.0 | |
Predicate.isNegated() - JPA Method JPA Method in javax.persistence.criteria.Predicate boolean isNegated () Whether the predicate has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not() method. Return: boolean indicating if the predicate is a negated predicate Since: JPA 2.0 | |
LockTimeoutException.LockTimeoutException(entity) - JPA Constructor JPA Constructor in javax.persistence.LockTimeoutException LockTimeoutException ( Object entity ) Constructs a new LockTimeoutException exception with the specified object. Parameters: entity - the entity. Since: JPA 2.0 | |
EntityTransaction.rollback() - JPA Method JPA Method in javax.persistence.EntityTransaction void rollback () Roll back the current resource transaction. Throws: IllegalStateException - if isActive() is false PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0 | |
EntityTransaction.commit() - JPA Method JPA Method in javax.persistence.EntityTransaction void commit () Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if isActive() is false RollbackException - if the commit fails Since: JPA 1.0 | |
Metamodel.entity(cls) - JPA Method JPA Method in javax.persistence.metamodel.Metamodel EntityType entity ( Class cls ) Return the metamodel entity type representing the entity. Parameters: cls - the type of the represented entity Return: the metamodel entity type Throws: IllegalArgumentException - if not an entity Since: JPA 2.0 | |
PessimisticLockException.getEntity() - JPA Method JPA Method in javax.persistence.PessimisticLockException Object getEntity () Returns the entity that caused this exception. Return: the entity. Since: JPA 2.0 | |
EntityTransaction.begin() - JPA Method JPA Method in javax.persistence.EntityTransaction void begin () Start a resource transaction. Throws: IllegalStateException - if isActive() is true Since: JPA 1.0 | |
Root.getModel() - JPA Method JPA Method in javax.persistence.criteria.Root EntityType getModel () Return the metamodel entity corresponding to the root. Return: metamodel entity corresponding to the root Since: JPA 2.0 | |
MapAttribute.getKeyType() - JPA Method JPA Method in javax.persistence.metamodel.MapAttribute Type getKeyType () Return the type representing the key type of the map. Return: type representing key type Since: JPA 2.0 | |
CriteriaDelete.where(restrictions) - JPA Method JPA Method in javax.persistence.criteria.CriteriaDelete CriteriaDelete where ( Predicate... restrictions ) Modify the delete query to restrict the target of the deletion according ... . Parameters: restrictions - zero or more restriction predicates Return: the modified delete query Since: JPA 2.1 | |
EntityManagerFactory.addNamedEntityGraph(graphName,entityGraph) - JPA Method JPA Method in javax.persistence.EntityManagerFactory void addNamedEntityGraph ( String graphName, EntityGraph entityGraph ) Add a named copy ... , it is replaced. Parameters: graphName - name for the entity graph entityGraph - entity graph Since: JPA 2.1 | |
CriteriaDelete.where(restriction) - JPA Method JPA Method in javax.persistence.criteria.CriteriaDelete CriteriaDelete where ( Expression restriction ) Modify the delete query to restrict the target of the deletion according ... : restriction - a simple or compound boolean expression Return: the modified delete query Since: JPA 2.1 | |
MapAttribute.getKeyJavaType() - JPA Method JPA Method in javax.persistence.metamodel.MapAttribute Class getKeyJavaType () Return the Java type of the map key. Return: Java key type Since: JPA 2.0 | |
Path | |
PersistenceUnitUtil.getIdentifier(entity) - JPA Method JPA Method in javax.persistence.PersistenceUnitUtil Object getIdentifier ( Object entity ) Return the id of the entity. A generated id is not guaranteed to be available ... : entity - entity instance Return: id of the entity Throws: IllegalArgumentException - if the object is found not to be an entity Since: JPA 2.0 | |
Path | |
CriteriaDelete.from(entity) - JPA Method JPA Method in javax.persistence.criteria.CriteriaDelete Root from ( EntityType entity ) Create and add a query root corresponding to the entity that is the target of the delete ... - metamodel entity representing the entity of type X Return: query root corresponding to the given entity Since: JPA 2.1 | |
Path | |
CriteriaDelete.getRoot() - JPA Method JPA Method in javax.persistence.criteria.CriteriaDelete Root getRoot () Return the query root. Return: the query root Since: JPA 2.1 | |
Path | |
Metamodel.getEntities() - JPA Method JPA Method in javax.persistence.metamodel.Metamodel Set getEntities () Return the metamodel entity types. Return: the metamodel entity types Since: JPA 2.0 | |
CriteriaDelete.from(entityClass) - JPA Method JPA Method in javax.persistence.criteria.CriteriaDelete Root from ( Class entityClass ) Create and add a query root corresponding to the entity that is the target of the delete ... - the entity class Return: query root corresponding to the given entity Since: JPA 2.1 | |
Metamodel.getEmbeddables() - JPA Method JPA Method in javax.persistence.metamodel.Metamodel Set getEmbeddables () Return the metamodel embeddable types. Returns empty set if there are no embeddable types. Return: the metamodel embeddable types Since: JPA 2.0 | |
PessimisticLockException.PessimisticLockException() - JPA Constructor JPA Constructor in javax.persistence.PessimisticLockException PessimisticLockException () Constructs a new PessimisticLockException exception with null as its detail message. Since: JPA 2.0 | |
Metamodel.getManagedTypes() - JPA Method JPA Method in javax.persistence.metamodel.Metamodel Set getManagedTypes () Return the metamodel managed types. Return: the metamodel managed types Since: JPA 2.0 | |
EntityManagerFactory.unwrap(cls) - JPA Method JPA Method in javax.persistence.EntityManagerFactory T unwrap ( Class cls ) Return an object of the specified type to allow access to the provider-specific API. If the provider's ... : an instance of the specified class Throws: PersistenceException - if the provider does not support the call Since: JPA 2.1 | |
Path | |
In.value(value) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder$In CriteriaBuilder.In value ( Expression value ) Add to list of values to be tested against. Parameters: value - expression Return: in predicate Since: JPA 2.0 | |
Metamodel.managedType(cls) - JPA Method JPA Method in javax.persistence.metamodel.Metamodel ManagedType managedType ( Class cls ) Return the metamodel managed type representing the entity, mapped superclass, or ... type Throws: IllegalArgumentException - if not a managed class Since: JPA 2.0 | |
In.getExpression() - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder$In Expression getExpression () Return the expression to be tested against the list of values. Return: expression Since: JPA 2.0 | |
Metamodel.embeddable(cls) - JPA Method JPA Method in javax.persistence.metamodel.Metamodel EmbeddableType embeddable ( Class cls ) Return the metamodel embeddable type representing the embeddable class. Parameters: cls - the type of the represented embeddable class Return: the metamodel embeddable type Throws: IllegalArgumentException - if not an embeddable class Since: JPA 2.0 | |
In.value(value) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder$In CriteriaBuilder.In value ( T value ) Add to list of values to be tested against. Parameters: value - value Return: in predicate Since: JPA 2.0 | |
PersistenceUtil.isLoaded(entity) - JPA Method JPA Method in javax.persistence.PersistenceUtil boolean isLoaded ( Object entity ) Determine the load state of an entity. This method can be used to determine the load state ... . Parameters: entity - whose load state is to be determined Return: false if the entity has not been loaded, else true Since: JPA 2.0 | |
Predicate.getOperator() - JPA Method JPA Method in javax.persistence.criteria.Predicate Predicate.BooleanOperator getOperator () Return the boolean operator for the predicate. If the predicate is simple, this is AND . Return: boolean operator for the predicate Since: JPA 2.0 |