About PESSIMISTIC_READ

manual

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 ...

 
api-jpa

LockModeType.PESSIMISTIC_READ

Pessimistic read lock.(Enum Constant of javax.persistence.LockModeType)

 
api-jpa

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)