About PESSIMISTIC_READ

1-10 of 200Refresh
JPA Doc
96

LockModeType.PESSIMISTIC_READ

Enum Constant javax.persistence.LockModeType PESSIMISTIC_READ Pessimistic read lock. Since: JPA 2.0
Manual
94

Locking in JPA

supported pessimistic lock modes are: PESSIMISTIC_READ - which represents a shared lock. PESSIMISTIC_WRITE ... cannot be granted: A PESSIMISTIC_READ lock request fails if another user (which is represented by ... a PESSIMISTIC_READ lock on that database object. For example, consider the following code fragment: em1
JPA Doc
29

LockModeType.PESSIMISTIC_FORCE_INCREMENT

Enum Constant javax.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update. Since: JPA 2.0
JPA Doc
29

LockModeType.PESSIMISTIC_WRITE

Enum Constant javax.persistence.LockModeType PESSIMISTIC_WRITE Pessimistic write lock. Since: JPA 2.0
Result
29

ObjectDB Object Database Features [2018-01-27]

). Implicit pessimistic locking (JDO). Explicit pessimistic locking (JPA 2). Always Object Level locking. Lock modes: READ/WRITE, OPTIMISTIC/PESSIMISTIC. Database Tools and Utilities ObjectDB provides
Result
29

ObjectDB Object Database Features [2018-10-27]

). Implicit pessimistic locking (JDO). Explicit pessimistic locking (JPA 2). Always Object Level locking. Lock modes: READ/WRITE, OPTIMISTIC/PESSIMISTIC. Database Tools and Utilities ObjectDB provides
Result
29

ObjectDB Object Database Features

(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, OPTIMISTIC/PESSIMISTIC. Database Tools and Utilities ObjectDB provides the following database tools
JPA Doc
27

javax.persistence.LockModeType

call, it must throw the PersistenceException. The lock modes LockModeType.PESSIMISTIC_READ, LockModeType ... -term database locks. The semantics of requesting locks of type LockModeType.PESSIMISTIC_READ ... . If transaction T1 calls for a lock of type LockModeType.PESSIMISTIC_READ or LockModeType.PESSIMISTIC_WRITE
JDO Doc
19

PersistenceCapable.CHECK_READ

Static Field javax.jdo.spi.PersistenceCapable byte CHECK_READ If jdoFieldFlags for a field includes CHECK_READ, then the field has been enhanced to call the jdoStateManager on read if the jdoFlags setting is not READ_OK or READ_WRITE_OK. Since: JDO 1.0
JDO Doc
19

PersistenceCapable.MEDIATE_READ

Static Field javax.jdo.spi.PersistenceCapable byte MEDIATE_READ If jdoFieldFlags for a field includes MEDIATE_READ, then the field has been enhanced to always call the jdoStateManager on all reads. Since: JDO 1.0