ObjectDB Database Search
1-21 of 21 resultsAnnotationAttrRef jakarta.persistence.NamedQuery.lockMode JPA Annotation Attribute in jakarta.persistence.NamedQuery LockModeType lockMode default LockModeType.NONE (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined to the transaction. Since: JPA 2.0 | |
Query.setLockMode(lockMode) - JPA Method JPA Method in jakarta.persistence.Query Query setLockMode ( LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Return: the same query instance Throws: IllegalStateException - if the query is found not | |
EntityManager.lock(entity,lockMode,options) - JPA Method JPA Method in jakarta.persistence.EntityManager void lock ( Object entity, LockModeType lockMode , LockOption... options ) Lock ... may not be observed. Parameters: entity - a managed entity instance lockMode - lock mode options | |
EntityManager.refresh(entity,lockMode,properties) - JPA Method JPA Method in jakarta.persistence.EntityManager void refresh ( Object entity, LockModeType lockMode , Map properties ) Refresh ... , the hint may or may not be observed. Parameters: entity - a managed entity instance lockMode | |
EntityManager.lock(entity,lockMode,properties) - JPA Method JPA Method in jakarta.persistence.EntityManager void lock ( Object entity, LockModeType lockMode , Map properties ) Lock an entity ... , the hint may or may not be observed. Parameters: entity - a managed entity instance lockMode - lock mode | |
EntityManager.lock(entity,lockMode) - JPA Method JPA Method in jakarta.persistence.EntityManager void lock ( Object entity, LockModeType lockMode ) Lock an entity instance belonging to the persistence ... Parameters: entity - a managed entity instance lockMode - lock mode Throws: IllegalArgumentException | |
TypedQuery.setLockMode(lockMode) - JPA Method JPA Method in jakarta.persistence.TypedQuery TypedQuery setLockMode ( LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Return: the same query instance Throws: IllegalStateException - if the query is found not | |
EntityManager.refresh(entity,lockMode) - JPA Method JPA Method in jakarta.persistence.EntityManager void refresh ( Object entity, LockModeType lockMode ) Refresh the state of the given managed entity instance ... . Parameters: entity - a managed entity instance lockMode - lock mode Throws: IllegalArgumentException | |
EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method JPA Method in jakarta.persistence.EntityManager T find ( Class entityClass, Object primaryKey, LockModeType lockMode ) Find by ... primaryKey - primary key lockMode - lock mode Return: the found entity instance or null if the entity | |
EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method JPA Method in jakarta.persistence.EntityManager T find ( Class entityClass, Object primaryKey, LockModeType lockMode ,   ... class primaryKey - primary key lockMode - lock mode properties - standard and vendor-specific | |
AnnotationAttrRef jakarta.persistence.EntityResult.lockMode JPA Annotation Attribute in jakarta.persistence.EntityResult LockModeType lockMode default LockModeType.OPTIMISTIC The lock mode obtained by the SQL query. Since: JPA 3.2 | |
JPA Named Queries itself and are demonstrated above. The two optional elements, lockMode and hints , provide static replacement | |
InterfaceRef jakarta.persistence.EntityManager, Object primaryKey, LockModeType lockMode ) Find by primary key and obtain ... lockMode - lock mode Return: the found entity instance or null if the entity does not exist Throws ... ; LockModeType lockMode , Map properties) Find by primary key and lock the entity | |
Database Inconsistency or corruption. ObjectValue ID:=100, TYPE:=Person, REVISION:=0, isPersisted:=true, LockMode :=PESSIMISTIC_WRITE ... . ObjectValue ID:=100, TYPE:=Person, REVISION:=2, isPersisted:=true, LockMode :=PESSIMISTIC_WRITE ... , REVISION:=2, isPersisted:=true, LockMode :=null ... Attribute ID:=1400, Name:=null, Value:=null | |
AnnotationRef jakarta.persistence.NamedQuery LockModeType lockMode default LockModeType.NONE (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction | |
InterfaceRef jakarta.persistence.Query; lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock | |
InterfaceRef jakarta.persistence.TypedQuery ( LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode | |
InterfaceRef jakarta.persistence.StoredProcedureQuery; lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode | |
AnnotationRef jakarta.persistence.EntityResult of the entity class. Since: JPA 1.0 LockModeType lockMode default LockModeType.OPTIMISTIC The lock mode obtained by the SQL query. Since: JPA 3.2 | |
ArrayIndexOutOfBoundException.ysoft.safeq.core.cache.entity.CacheableJobLog#10000000000871755(including subtypes), lockMode =-1} [2013 ... #10000000001280296(including subtypes), lockMode =-1} [2013-06-07 03:18:52 #98 *] java.lang ... #10000000000135233(including subtypes), lockMode =-1} [2013-06-07 05:42:31 #102 *] [ObjectDB 2.5.0_06 | |
InternalException during producer/consumer scenario and LockMode set to PESSIMISTIC_WRITE. This results in the exceptions below. Could you advise on the errors |