Uses of Enum Class
org.hibernate.dialect.lock.PessimisticLockStyle
Packages that use PessimisticLockStyle
Package
Description
Shared locking vocabulary for
Dialect.Incubating Dialect contracts for describing database locking capabilities,
selecting locking strategies, and rendering locking SQL.
-
Uses of PessimisticLockStyle in org.hibernate.dialect.lock
Subclasses with type arguments of type PessimisticLockStyle in org.hibernate.dialect.lockModifier and TypeClassDescriptionenumIndicates how a dialect supports acquiring pessimistic locks as part of aSELECTstatement.Methods in org.hibernate.dialect.lock that return PessimisticLockStyleModifier and TypeMethodDescriptionstatic PessimisticLockStyleReturns the enum constant of this class with the specified name.static PessimisticLockStyle[]PessimisticLockStyle.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of PessimisticLockStyle in org.hibernate.dialect.lock.spi
Methods in org.hibernate.dialect.lock.spi that return PessimisticLockStyleModifier and TypeMethodDescriptiondefault PessimisticLockStyleLockingSupport.Metadata.getPessimisticLockStyle()ThePessimisticLockStylesupported by this Dialect.Methods in org.hibernate.dialect.lock.spi with parameters of type PessimisticLockStyleModifier 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, boolean supportsInnerJoins, TransactionConcurrencyResolver resolver) Creates a parameterized SQL strategy with an explicit concurrency resolver.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.
TransactionConcurrencyResolver.