ObjectDB Database Search

101-150 of 200 results

LocalDateTimeField.toString() - JPA Method

JPA Method in jakarta.persistence.criteria.LocalDateTimeField String toString () Since: JPA 3.2

CriteriaBuilder.concat(expressions) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression concat (   List  expressions ) Create an expression for string concatenation. If the given list of expressions ... expressions Return: expression corresponding to concatenation Since: JPA 2.0

PessimisticLockException.PessimisticLockException(message) - JPA Constructor

JPA Constructor in jakarta.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 jakarta.persistence.criteria.CriteriaQuery CriteriaQuery groupBy (    Expression ... grouping ) Specify the expressions that are used to form groups over the query ... 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 jakarta.persistence.criteria.CriteriaQuery CriteriaQuery groupBy (   List  grouping ) Specify the expressions that are used to form groups over the query results ... type 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 jakarta.persistence.metamodel.SingularAttribute boolean isOptional () Can the attribute be null? Return: boolean indicating whether the attribute can be null See Also: jakarta.persistence.Basic.optional Since: JPA 2.0

PessimisticLockException.PessimisticLockException(message,cause) - JPA Constructor

JPA Constructor in jakarta.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

TransactionRequiredException.TransactionRequiredException(cause) - JPA Constructor

JPA Constructor in jakarta.persistence.TransactionRequiredException TransactionRequiredException (   Exception cause ) Constructs a new TransactionRequiredException exception with null as its detail message. Since: JPA 1.0

LockTimeoutException.getObject() - JPA Method

JPA Method in jakarta.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 jakarta.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 jakarta.persistence.criteria.CriteriaQuery CriteriaQuery where (   Predicate... restrictions ) Modify the query to restrict the query result according to the conjunction ... - zero or more restriction predicates Return: the modified query Since: JPA 2.0

SingularAttribute.isId() - JPA Method

JPA Method in jakarta.persistence.metamodel.SingularAttribute boolean isId () Is the attribute an id attribute? This method returns true if the attribute is a plain, an plain, or an attribute of an plain. Return: boolean indicating whether the attribute is an id Since: JPA 2.0

SingularAttribute.isVersion() - JPA Method

JPA Method in jakarta.persistence.metamodel.SingularAttribute boolean isVersion () Is the attribute a plain attribute? Return: boolean indicating whether the attribute is a version attribute Since: JPA 2.0

Predicate.not() - JPA Method

JPA Method in jakarta.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 jakarta.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 jakarta.persistence.criteria.Predicate boolean isNegated () Whether the predicate has been created from another predicate by applying () or by calling CriteriaBuilder.not . Return: boolean indicating if the predicate is a negated predicate Since: JPA 2.0

LockTimeoutException.LockTimeoutException(entity) - JPA Constructor

JPA Constructor in jakarta.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 jakarta.persistence.EntityTransaction void rollback () Roll back the current resource transaction. Throws: IllegalStateException - if {@link #isActive()} is false PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0

EntityTransaction.commit() - JPA Method

JPA Method in jakarta.persistence.EntityTransaction void commit () Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if {@link #isActive()} is false RollbackException - if the commit fails Since: JPA 1.0

StoredProcedureQuery.registerStoredProcedureParameter(position,type,mode) - JPA Method

JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery registerStoredProcedureParameter (   int position,    Class  type,     ... . Parameters: position - parameter position type - type of the parameter mode - parameter mode Return: the same query instance Since: JPA 2.1

Metamodel.entity(cls) - JPA Method

JPA Method in jakarta.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

StoredProcedureQuery.setTimeout(timeout) - JPA Method

JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setTimeout (   Integer timeout ) Set the query timeout, in milliseconds. This is a hint ... , or null to indicate no timeout Return: the same query instance Since: JPA 3.2

PessimisticLockException.getEntity() - JPA Method

JPA Method in jakarta.persistence.PessimisticLockException Object getEntity () Returns the entity that caused this exception. Return: the entity. Since: JPA 2.0

StoredProcedureQuery.registerStoredProcedureParameter(parameterName,type,mode) - JPA Method

JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery registerStoredProcedureParameter (   String parameterName,    Class  type,    ... of the parameter as registered or specified in metadata type - type of the parameter mode - parameter mode Return: the same query instance Since: JPA 2.1

EntityTransaction.begin() - JPA Method

JPA Method in jakarta.persistence.EntityTransaction void begin () Start a resource transaction. Throws: IllegalStateException - if {@link #isActive()} is true Since: JPA 1.0

StoredProcedureQuery.setCacheStoreMode(cacheStoreMode) - JPA Method

JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setCacheStoreMode (    CacheStoreMode  cacheStoreMode ) Set the cache storage mode that is in effect ... manager. Parameters: cacheStoreMode - cache storage mode Return: the same query instance Since: JPA 3.2

StoredProcedureQuery.setCacheRetrieveMode(cacheRetrieveMode) - JPA Method

JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setCacheRetrieveMode (    CacheRetrieveMode  cacheRetrieveMode ) Set the cache retrieval mode that is in ... the entity manager. Parameters: cacheRetrieveMode - cache retrieval mode Return: the same query instance Since: JPA 3.2

Root.getModel() - JPA Method

JPA Method in jakarta.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 jakarta.persistence.metamodel.MapAttribute Type getKeyType () Return the type representing the key type of the map. Return: type representing key type Since: JPA 2.0

TransactionRequiredException.TransactionRequiredException(message,cause) - JPA Constructor

JPA Constructor in jakarta.persistence.TransactionRequiredException TransactionRequiredException (   String message,    Exception cause ) Constructs a new TransactionRequiredException exception with the specified detail message. Parameters: message - the detail message. Since: JPA 1.0

CriteriaDelete.where(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaDelete CriteriaDelete where (   Predicate... restrictions ) Modify the DELETE query to restrict the target of the deletion according ... removed. 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 jakarta.persistence.EntityManagerFactory void addNamedEntityGraph (   String graphName,     EntityGraph  entityGraph ) Add a named copy of the given ... , 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 jakarta.persistence.criteria.CriteriaDelete CriteriaDelete where (    Expression  restriction ) Modify the DELETE query to restrict the target of the deletion according ... . Parameters: restriction - a simple or compound boolean expression Return: the modified delete query Since: JPA 2.1

MapAttribute.getKeyJavaType() - JPA Method

JPA Method in jakarta.persistence.metamodel.MapAttribute Class getKeyJavaType () Return the Java type of the map key. Return: Java key type Since: JPA 2.0

Path.type() - JPA Method

JPA Method in jakarta.persistence.criteria.Path Expression type () Create an expression corresponding to the type of the path. Return: expression corresponding to the type of the path Since: JPA 2.0

PersistenceUnitUtil.getIdentifier(entity) - JPA Method

JPA Method in jakarta.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.get(collection) - JPA Method

JPA Method in javax.persistence.criteria.Path Expression get (    PluralAttribute  collection ) Create a path corresponding to the referenced collection-valued attribute. Parameters: collection - collection-valued attribute Return: expression corresponding to the referenced attribute Since: JPA 2.0

CriteriaDelete.from(entity) - JPA Method

JPA Method in jakarta.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.get(map) - JPA Method

JPA Method in javax.persistence.criteria.Path Expression get (    MapAttribute  map ) Create a path corresponding to the referenced map-valued attribute. Parameters: map - map-valued attribute Return: expression corresponding to the referenced attribute Since: JPA 2.0

CriteriaDelete.getRoot() - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaDelete Root getRoot () Return the query root. Return: the query root Since: JPA 2.1

Path.get(attribute) - JPA Method

JPA Method in jakarta.persistence.criteria.Path Path get (    SingularAttribute  attribute ) Create a path corresponding to the referenced single-valued attribute. Parameters: attribute - single-valued attribute Return: path corresponding to the referenced attribute Since: JPA 2.0

Metamodel.getEntities() - JPA Method

JPA Method in jakarta.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 jakarta.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 jakarta.persistence.metamodel.Metamodel Set getEmbeddables () Return the metamodel embeddable types. Returns am empty set if there are no embeddable types. Return: the metamodel embeddable types Since: JPA 2.0

PessimisticLockException.PessimisticLockException() - JPA Constructor

JPA Constructor in jakarta.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 jakarta.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 jakarta.persistence.EntityManagerFactory T unwrap (   Class  cls ) Return an object of the specified type to allow access to a provider-specific API. If the provider ... of the specified class Throws: PersistenceException - if the provider does not support the given type Since: JPA 2.1

Path.getParentPath() - JPA Method

JPA Method in jakarta.persistence.criteria.Path Path getParentPath () Return the parent "node" in the path or null if no parent. Return: parent Since: JPA 2.0

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

AbstractQuery.having(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery having (   List  restrictions ) Specify restrictions over the groups of the query according the conjunction ... : restrictions - a list of zero or more restriction predicates Return: the modified query Since: JPA 3.2