Interface LockingSupport.Metadata
- Enclosing interface:
LockingSupport
-
Method Summary
Modifier and TypeMethodDescriptiondefault LockTimeoutTypegetLockTimeoutType(Timeout timeout) Reports how this Dialect supports the given timeout value.The type of support for outer joins with pessimistic locking.default PessimisticLockStyleThePessimisticLockStylesupported by this Dialect.default RowLockStrategyTheRowLockStrategyfor indicating which rows to lock as part of afor share ofstyle clause.default RowLockStrategyTheRowLockStrategyfor indicating which rows to lock as part of afor update ofstyle clause.default booleanDeprecated, for removal: This API element is subject to removal in a future version.default booleanWhether inner joins are supported with pessimistic locking.default booleanDeprecated.UsegetPessimisticLockStyle()withTimeouts.NO_WAITinstead.default booleanDeprecated.UsegetPessimisticLockStyle()withTimeouts.SKIP_LOCKEDinstead.default booleanDeprecated.UsegetPessimisticLockStyle()with a [Timeouts#isRealTimeout real timeout value] instead.
-
Method Details
-
getPessimisticLockStyle
ThePessimisticLockStylesupported by this Dialect.- See Also:
-
getLockTimeoutType
Reports how this Dialect supports the given timeout value.- See Also:
-
getReadRowLockStrategy
TheRowLockStrategyfor indicating which rows to lock as part of afor share ofstyle clause. By default, this usesgetWriteRowLockStrategy(). -
getWriteRowLockStrategy
TheRowLockStrategyfor indicating which rows to lock as part of afor update ofstyle clause. -
readsWaitForUncommittedWrites
Deprecated, for removal: This API element is subject to removal in a future version.InspectReadGuarantees.isCurrentRead()on the factory'sTransactionConcurrencyinstead.Legacy dialect-wide assumption, unused by concurrency resolution and current-read rendering. -
getOuterJoinLockingType
OuterJoinLockingType getOuterJoinLockingType()The type of support for outer joins with pessimistic locking. -
supportsInnerJoins
default boolean supportsInnerJoins()Whether inner joins are supported with pessimistic locking. -
supportsWait
Deprecated.UsegetPessimisticLockStyle()with a [Timeouts#isRealTimeout real timeout value] instead.Whether the Dialect supports supplying a specific lock-timeout wait period through query options, for examplefor update (of).- See Also:
- API Note:
- This exists temporarily while the legacy locking-clause rendering overloads are migrated.
-
supportsNoWait
Deprecated.UsegetPessimisticLockStyle()withTimeouts.NO_WAITinstead.Whether the Dialect supports specifying no-wait through query options.- See Also:
- API Note:
- This exists temporarily while the legacy locking-clause rendering overloads are migrated.
-
supportsSkipLocked
Deprecated.UsegetPessimisticLockStyle()withTimeouts.SKIP_LOCKEDinstead.Whether the Dialect supports specifying skip-locked through query options.- See Also:
- API Note:
- This exists temporarily while the legacy locking-clause rendering overloads are migrated.
-
ReadGuarantees.isCurrentRead()on the factory'sTransactionConcurrencyinstead.