About lock

61-70 of 178Refresh
JPA Doc
7

getSingleResult()

the query timeout value set and only the statement is rolled back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
7

getSingleResult()

timeout value set and only the statement is rolled back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails
JPA Doc
7

javax.persistence.OptimisticLockException

Interfaces: Serializable Thrown by the persistence provider when an optimistic locking conflict occurs ... .lock(Object, LockModeType) EntityManager.lock(Object, LockModeType, java.util.Map
JPA Doc
6

getLockMode()

Method javax.persistence.Query LockModeType getLockMode() Get the current lock mode for the query. Returns: lock mode Throws: IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query Since: JPA 2.0
JPA Doc
6

getLockMode(entity)

Method javax.persistence.EntityManager LockModeType getLockMode(   Object entity ) Get the current lock mode for the entity instance. Parameters: entity - entity instance Returns: lock mode Throws: TransactionRequiredException - if there is no transaction IllegalArgumentException - if the instance
JPA Doc
6

setLockMode(lockMode)

Method javax.persistence.Query Query setLockMode(   LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Returns: the same query instance Throws: IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query Since: JPA 2.0
JPA Doc
6

setLockMode(lockMode)

Method javax.persistence.TypedQuery TypedQuery setLockMode(   LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Returns: the same query instance Throws: IllegalStateException - if the query is found not to be a Java Persistence
JPA Doc
6

javax.persistence.NamedQuery

value: {} Since: JPA 1.0 LockModeType lockMode (Optional) The lock mode type to use in query execution. (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType
Issue
5

Blocked by find

blocked: 109 Total waited: 80 Stack trace: com.objectdb.o.PGC.C(PGC.java:484) - locked java ... .find(EMImpl.java:551) - locked com.objectdb.jdo.PMImpl@ae89a com.objectdb.jpa.EMImpl.find ... (ObjectDbInstanceContainer.java:108) - locked rbccm.felix.objectdb.workflow.ObjectDbInstanceContainer@9c71a4 rbccm
Forum
4

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

temporary files of other processes that are not locked (active temporary files are always locked ... the process of each temporary directory. In that directory a lock file, lock.lck, is created and hold ... of a process, an attempt to delete lock.lck is made. It should fail if the process is still running