Uses of Enum Class
org.hibernate.dialect.lock.spi.PessimisticLockKind
Packages that use PessimisticLockKind
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 PessimisticLockKind in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type PessimisticLockKindModifier 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 PessimisticLockKind in org.hibernate.dialect.lock.spi
Subclasses with type arguments of type PessimisticLockKind in org.hibernate.dialect.lock.spiModifier and TypeClassDescriptionenumThe focused kind of pessimistic lock requested by SQL rendering.Methods in org.hibernate.dialect.lock.spi that return PessimisticLockKindModifier and TypeMethodDescriptionstatic PessimisticLockKindInterprets an execution-level lock mode as a pessimistic SQL lock kind.FollowOnLockingRequest.lockKind()Returns the value of thelockKindrecord component.LockingClauseRequest.lockKind()Returns the value of thelockKindrecord component.LockingSqlRewriteRequest.lockKind()Returns the value of thelockKindrecord component.TableLockHintRequest.lockKind()The focused pessimistic lock kind.static PessimisticLockKindReturns the enum constant of this class with the specified name.static PessimisticLockKind[]PessimisticLockKind.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 PessimisticLockKindModifier and TypeMethodDescriptionstatic LockingClauseStrategyStandardLockingClauseStrategies.standard(LockingClauseRenderer lockingClauseRenderer, PessimisticLockKind lockKind, RowLockStrategy rowLockStrategy, LockOptions lockOptions, Set<NavigablePath> rootsForLocking) Creates a strategy for one SQL AST translation.Constructors in org.hibernate.dialect.lock.spi with parameters of type PessimisticLockKindModifierConstructorDescriptionFollowOnLockingRequest(String sql, FollowOnLockingRequest.StatementShape statementShape, FollowOnLockingRequest.Pagination pagination, PessimisticLockKind lockKind, Timeout timeout, PessimisticLockScope scope, LockingSqlRewriteResult.Outcome rawSqlRewriteOutcome) Creates a complete follow-on locking request.LockingClauseRequest(PessimisticLockKind lockKind, Timeout timeout, List<LockingClauseRequest.Target> targets) Creates an immutable locking-clause request.LockingSqlRewriteRequest(String sql, PessimisticLockKind lockKind, Timeout timeout, List<LockingClauseRequest.Target> targets) Creates an immutable locking SQL rewrite request.