Home » Search

About lock

61-70 of 161Refresh
JPA Doc
5

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
Issue
4

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
Forum
4

Degrading performance overtime

to see considerable degrade in performance caused internal objectdb locking: "pdncrttorfo42-WSAgent-1 ... ) - waiting to lock <64c56ec3> (a com.objectdb.o.PGC) owned by "ODB-FileWriter" t@116 at com ... .ah(SFL.java:998) - locked <75608da2> (a com.objectdb.o.LFL) at com.objectdb.o.MST.ah(MST.java:1746
JDO Doc
4

getOptimistic()

Method javax.jdo.Transaction boolean getOptimistic() Optimistic transactions do not hold data store locks until commit time. Returns: the value of the Optimistic property. Since: JDO 1.0
JPA Doc
4

javax.persistence.LockTimeoutException

: Serializable Thrown by the persistence provider when an pessimistic locking conflict occurs that does
JPA Doc
4

javax.persistence.PessimisticLockException

Interfaces: Serializable Thrown by the persistence provider when an pessimistic locking conflict occurs
JPA Doc
4

javax.persistence.Version

javax.persistence Annotation Version Target: Fields (including property get methods) Specifies the version field or property of an entity class that serves as its optimistic lock value. The version is used to ensure integrity when performing the merge operation and for optimistic concurrency
JPA Doc
4

LockModeType.NONE

Enum Constant javax.persistence.LockModeType NONE No lock. Since: JPA 2.0
JPA Doc
4

LockModeType.OPTIMISTIC

Enum Constant javax.persistence.LockModeType OPTIMISTIC Optimistic lock. Since: JPA 2.0