-
- All Known Implementing Classes:
PessimisticLockScope
,Timeout
public interface LockOption
An option influencing the behavior ofEntityManager.lock(java.lang.Object, jakarta.persistence.LockModeType)
. Built-in options control scope, and timeouts.This interface may be implemented by custom provider-specific options which extend the options defined by the specification.
- Since:
- 3.2
- See Also:
LockModeType
,PessimisticLockScope
,Timeout
,EntityManager.lock(Object, LockModeType, LockOption...)