Class StandardLockingSupports

java.lang.Object
org.hibernate.dialect.lock.spi.StandardLockingSupports

@Incubating(since="7.1", group="dialect-locking") @SPI(USE) public final class StandardLockingSupports extends Object

Creates standard pessimistic-locking profiles for a custom Dialect.

Prefer a named database-family factory when extending a maintained Dialect. The named factories preserve Hibernate's version boundaries and coordinated metadata, renderers, timeout handling, and follow-on policy. Use simple(PessimisticLockStyle, RowLockStrategy, LockTimeoutType, OuterJoinLockingType, ConnectionLockTimeoutStrategy) or parameterized(PessimisticLockStyle, RowLockStrategy, LockTimeoutType, LockTimeoutType, LockTimeoutType, OuterJoinLockingType, TransactionConcurrencyResolver) only when defining a distinct provider profile.

Returned profiles are immutable or thread-safe and may be retained for the lifetime of the Dialect. Their concrete implementation is intentionally not part of the provider contract.

Since:
8.0
See Also: