Home » Search

About PESSIMISTIC_READ

1-10 of 200Refresh
Manual
235

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
105

LockModeType.PESSIMISTIC_READ

Enum Constant javax.persistence.LockModeType PESSIMISTIC_READ Pessimistic read lock. Since: JPA 2.0
Result
32

ObjectDB Object Database Features

). 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
JPA Doc
32

LockModeType.PESSIMISTIC_FORCE_INCREMENT

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

LockModeType.PESSIMISTIC_WRITE

Enum Constant javax.persistence.LockModeType PESSIMISTIC_WRITE Pessimistic write lock. Since: JPA 2.0
JPA Doc
30

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
21

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
21

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
JDO Doc
21

PersistenceCapable.READ_OK

Static Field javax.jdo.spi.PersistenceCapable byte READ_OK If jdoFlags is set to READ_OK, then the fields in the default fetch group can be accessed for read without notifying the StateManager. Since: JDO 1.0
JDO Doc
21

PersistenceCapable.READ_WRITE_OK

Static Field javax.jdo.spi.PersistenceCapable byte READ_WRITE_OK If jdoFlags is set to READ_WRITE_OK, then the fields in the default fetch group can be accessed for read or write without notifying the StateManager. Since: JDO 1.0