Top Description
jakarta.persistence

public Interface LockOption

Known Direct Implementers
jakarta.persistence.PessimisticLockScope, jakarta.persistence.Timeout

An option influencing the behavior of EntityManager#lock. 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...)