About lock

31-40 of 185Refresh
Manual
26

Database Management Settings [2016-01-26]

="." mode="write" />   <locking version-check="true" /> locking> element <locking version-check="true" /> The version-check attribute of the <locking> element specifies
Result
26

ObjectDB Object Database Features

real multithreading. Support of efficient real multiprocessing. Locking Automatic object versioning (can be injected to a @Version field). Optimistic locking (always active). Implicit pessimistic locking (JDO). Explicit pessimistic locking (JPA 2). Always Object Level locking. Lock modes: READ/WRITE
Manual
26

Database Management Settings

="." mode="write" />   <locking version-check="true" /> locking> element <locking version-check="true" /> The version-check attribute of the <locking> element specifies
Result
26

ObjectDB Object Database Features [2018-10-27]

. Support of efficient real multithreading. Support of efficient real multiprocessing. Locking Automatic object versioning (can be injected to a @Version field). Optimistic locking (always active). Implicit pessimistic locking (JDO). Explicit pessimistic locking (JPA 2). Always Object Level locking
Result
26

ObjectDB Object Database Features [2018-01-27]

. Support of efficient real multithreading. Support of efficient real multiprocessing. Locking Automatic object versioning (can be injected to a @Version field). Optimistic locking (always active). Implicit pessimistic locking (JDO). Explicit pessimistic locking (JPA 2). Always Object Level locking
JPA Doc
19

javax.persistence.LockModeType

Lock modes can be specified by means of passing a LockModeType argument to one of the javax.persistence.EntityManager methods that take locks ( lock, find, or refresh) or to the Query.setLockMode() or TypedQuery.setLockMode() method. Lock modes can be used to specify either optimistic or
JPA Doc
18

JPA Exceptions

causes for RollbackException are lock failures: Exceptions can also be thrown on an attempt ... during query execution: The lock exceptions (above) may also be thrown during retrieval, if database lock has been requested for retrieved entity objects and it cannot be granted.
Manual
18

JPA Entity Fields

with optimistic locking (as explained in the Locking in JPA section in chapter 3). You can expose entity ... field is explicitly defined. Therefore, optimistic locking is supported by ObjectDB
JPA Doc
15

javax.persistence.TypedQuery

() Get the current lock mode for the query. Get the current lock mode for the query. Returns: lock mode ... 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
JPA Doc
13

javax.persistence.PessimisticLockScope

: Serializable, Comparable Defines the values of the javax.persistence.lock.scope property for pessimistic locking. This property may be passed as an argument to the methods of the EntityManager, Query, and TypedQuery interfaces that allow lock modes to be specified or used