Package org.hibernate.dialect.lock.spi
@Incubating(since="7.1",
group="dialect-locking")
package org.hibernate.dialect.lock.spi
Incubating Dialect contracts for describing database locking capabilities,
selecting locking strategies, and rendering locking SQL.
- Since:
- 8.0
-
ClassDescriptionDescribes how long protection acquired by one operation on a row prevents a conflicting operation in another transaction from accessing that row.Executes the common JDBC operations used by connection-level lock-timeout strategies.Extracts a timeout from the current row of a JDBC result set.Reads and sets lock timeouts using the JDBC
Connection, generally by executing a database command.Indicates a Dialect's level of support for lock timeouts on the JDBC connection.Standard entity-locking strategy factories supplied by Hibernate.Creates the executable locking strategy for an entity-locking request.Families of built-in entity-locking strategies available to a provider factory.Immutable facts used to select an entity-locking strategy.Stable entity metadata available while selecting a locking strategy.Determines whether a completed SQL statement requires follow-on locking.The immutable facts used to decide whether a completed SQL statement requires follow-on locking.Effective pagination characteristics of the completed statement.Known structural characteristics of the completed statement.Renders a complete pessimistic locking clause from a focused request.A complete, read-only request to render a pessimistic locking clause.A qualified column-reference locking target.A table-alias locking target.A structured target named by a locking clause.Per-translation strategy for collecting lock targets and rendering statement-level pessimistic locking.Applies a Dialect's pessimistic locking syntax to already-rendered SQL.A complete, read-only request to apply pessimistic locking to already- rendered SQL.The immutable outcome of applying pessimistic locking to already-rendered SQL.Classification of the rewrite outcome.Acquires an entity lock in the underlying database.An error applying aLockingStrategyto an entity.Cohesive Dialect profile for pessimistic-locking capabilities and operations.Immutable description of the locking syntax and timeout capabilities of a Dialect.The way, if any, that a Dialect supports specifying lock timeouts.A kind of database operation on an existing row, used to ask aTransactionConcurrencydescriptor about read guarantees and conflicts between transactions.Indicates a Dialect's level of support for applying locks to select statements with joins.The focused kind of pessimistic lock requested by SQL rendering.Guarantees for existing rows successfully returned by a read.The strategy for rendering which row to lock with theFOR UPDATE OFclause.Creates standard connection-level lock-timeout strategies.Creates the standard per-translation locking-clause strategies.Factory for the standard already-rendered SQL locking strategies.Creates standard pessimistic-locking profiles for a custom Dialect.Renders the SQL fragment used with a table-reference fragment to request a pessimistic lock.Read-only context for rendering a lock hint for a table-expression fragment.Factory for immutable concurrency declarations and dialect profiles.Mutable builder; built profiles do not retain its state.Immutable read guarantees, suitable for a programmatic declaration.Immutable, resolved database concurrency rules for a factory's connections.A concurrency configuration error which must not be hidden by the normal ALLOW bootstrap-metadata fallback.Determines the transaction concurrency behavior that Hibernate should assume for a session factory's connections.