Uses of Enum Class
org.hibernate.dialect.lock.spi.RowLockStrategy
Packages that use RowLockStrategy
Package
Description
Defines the root contracts and built-in implementations for SQL dialects.
Incubating Dialect contracts for describing database locking capabilities,
selecting locking strategies, and rendering locking SQL.
-
Uses of RowLockStrategy in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type RowLockStrategyModifier and TypeMethodDescriptionprotected LockingClauseStrategyDialect.buildLockingClauseStrategy(PessimisticLockKind lockKind, RowLockStrategy rowLockStrategy, LockOptions lockOptions, Set<NavigablePath> rootPathsForLocking) Builds the per-translation statement-clause strategy after the lock kind, row-targeting strategy, and root paths have been resolved. -
Uses of RowLockStrategy in org.hibernate.dialect.lock.spi
Subclasses with type arguments of type RowLockStrategy in org.hibernate.dialect.lock.spiModifier and TypeClassDescriptionenumThe strategy for rendering which row to lock with theFOR UPDATE OFclause.Methods in org.hibernate.dialect.lock.spi that return RowLockStrategyModifier and TypeMethodDescriptiondefault RowLockStrategyLockingSupport.Metadata.getReadRowLockStrategy()TheRowLockStrategyfor indicating which rows to lock as part of afor share ofstyle clause.default RowLockStrategyLockingSupport.Metadata.getWriteRowLockStrategy()TheRowLockStrategyfor indicating which rows to lock as part of afor update ofstyle clause.static RowLockStrategyReturns the enum constant of this class with the specified name.static RowLockStrategy[]RowLockStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.hibernate.dialect.lock.spi with parameters of type RowLockStrategyModifier and TypeMethodDescriptionstatic LockingSupportStandardLockingSupports.parameterized(PessimisticLockStyle pessimisticLockStyle, RowLockStrategy rowLockStrategy, LockTimeoutType waitType, LockTimeoutType noWaitType, LockTimeoutType skipLockedType, OuterJoinLockingType outerJoinLockingType) Creates a statement-clause profile with independent timeout classifications.static LockingSupportStandardLockingSupports.parameterized(PessimisticLockStyle pessimisticLockStyle, RowLockStrategy rowLockStrategy, LockTimeoutType waitType, LockTimeoutType noWaitType, LockTimeoutType skipLockedType, OuterJoinLockingType outerJoinLockingType, boolean readsWaitForUncommittedWrites) Deprecated, for removal: This API element is subject to removal in a future version.static LockingSupportStandardLockingSupports.parameterized(PessimisticLockStyle style, RowLockStrategy rowLockStrategy, LockTimeoutType waitType, LockTimeoutType noWaitType, LockTimeoutType skipLockedType, OuterJoinLockingType outerJoinType, TransactionConcurrencyResolver resolver) Creates a parameterized SQL strategy with an explicit concurrency resolver.static LockingSupportStandardLockingSupports.simple(PessimisticLockStyle pessimisticLockStyle, RowLockStrategy rowLockStrategy, LockTimeoutType lockTimeoutType, OuterJoinLockingType outerJoinLockingType, ConnectionLockTimeoutStrategy connectionLockTimeoutStrategy) Creates a profile using one timeout classification for every timeout value.static LockingSupportStandardLockingSupports.simple(PessimisticLockStyle pessimisticLockStyle, RowLockStrategy rowLockStrategy, LockTimeoutType lockTimeoutType, OuterJoinLockingType outerJoinLockingType, ConnectionLockTimeoutStrategy connectionLockTimeoutStrategy, boolean readsWaitForUncommittedWrites) Deprecated, for removal: This API element is subject to removal in a future version.Use the overload acceptingTransactionConcurrencyResolver.static LockingSupportStandardLockingSupports.simple(PessimisticLockStyle style, RowLockStrategy rowLockStrategy, LockTimeoutType timeoutType, OuterJoinLockingType outerJoinType, ConnectionLockTimeoutStrategy timeoutStrategy, TransactionConcurrencyResolver resolver) Creates a simple SQL strategy with an explicit concurrency resolver.static LockingClauseStrategyStandardLockingClauseStrategies.standard(LockingClauseRenderer lockingClauseRenderer, PessimisticLockKind lockKind, RowLockStrategy rowLockStrategy, LockOptions lockOptions, Set<NavigablePath> rootsForLocking) Creates a strategy for one SQL AST translation.
TransactionConcurrencyResolver.