Package jakarta.persistence
Interface LockOption
- All Known Implementing Classes:
PessimisticLockScope
,Timeout
public interface LockOption
An option influencing the behavior of
EntityManager.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: