About PESSIMISTIC_READ
Locking in JPA
Explains how to use optimistic locking and pessimistic locking in JPA.... supported pessimistic lock modes are: PESSIMISTIC_READ LockModeType.PESSIMISTIC_READ enum constant Pessimistic read lock. See ...
 
LockModeType.PESSIMISTIC_READ
Pessimistic read lock.(Enum Constant of javax.persistence.LockModeType)
 
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.(Enum of JPA)