Uses of Interface
org.hibernate.dialect.lock.spi.LockingSupport
Packages that use LockingSupport
Package
Description
Annotations used to drive annotation processors:
@Find
is used to generate finder methods using the Metamodel
Generator,
@HQL
and @SQL
are used to generate query methods using the Metamodel
Generator, and
CheckHQL
instructs the Query Validator to check all HQL queries
in the annotated package or type.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.
SPI for execution of SQL statements via JDBC.
-
Uses of LockingSupport in org.hibernate.annotations.processing
Methods in org.hibernate.annotations.processing that return LockingSupport -
Uses of LockingSupport in org.hibernate.dialect
Methods in org.hibernate.dialect that return LockingSupportModifier and TypeMethodDescriptionprotected LockingSupportDB2Dialect.buildLockingSupport()protected LockingSupportDB2iDialect.buildLockingSupport()protected LockingSupportDB2zDialect.buildLockingSupport()AbstractSybaseDialect.getLockingSupport()Supplies the pessimistic-locking profile inherited from the maintained Sybase Dialect.CockroachDialect.getLockingSupport()DB2Dialect.getLockingSupport()Dialect.getLockingSupport()Supplies the cohesive pessimistic-locking profile for this Dialect.H2Dialect.getLockingSupport()HANADialect.getLockingSupport()HSQLDialect.getLockingSupport()MariaDBDialect.getLockingSupport()MySQLDialect.getLockingSupport()OracleDialect.getLockingSupport()PostgreSQLDialect.getLockingSupport()SpannerDialect.getLockingSupport()SpannerPostgreSQLDialect.getLockingSupport()SQLServerDialect.getLockingSupport()SybaseASEDialect.getLockingSupport()SybaseDialect.getLockingSupport() -
Uses of LockingSupport in org.hibernate.dialect.lock.spi
Methods in org.hibernate.dialect.lock.spi that return LockingSupportModifier and TypeMethodDescriptionstatic LockingSupportStandardLockingSupports.cockroach(DatabaseVersion version) The CockroachDB profile selected for the given database version.static LockingSupportStandardLockingSupports.db2(DatabaseVersion version) The DB2 LUW profile, including skip-locked support beginning with 11.5.static LockingSupportStandardLockingSupports.db2i()The DB2 for i profile.static LockingSupportStandardLockingSupports.db2z()The DB2 for z/OS profile.static LockingSupportStandardLockingSupports.h2(DatabaseVersion version) The H2 profile selected for the given database version.static LockingSupportStandardLockingSupports.hana(DatabaseVersion version) The HANA profile selected for the given database version.static LockingSupportStandardLockingSupports.hsql(DatabaseVersion version) The HSQLDB profile selected for the given database version.static LockingSupportStandardLockingSupports.legacyDb2i()The historical DB2 for i profile inherited from DB2 LUW.static LockingSupportStandardLockingSupports.legacySybaseAse()The historical Sybase ASE profile.static LockingSupportStandardLockingSupports.mariaDb(DatabaseVersion version) The MariaDB profile selected for the given database version.static LockingSupportStandardLockingSupports.mysql(DatabaseVersion version) The MySQL profile selected for the given database version.static LockingSupportStandardLockingSupports.none()A profile for a database which does not support pessimistic locking.static LockingSupportStandardLockingSupports.oracle(DatabaseVersion version) The Oracle profile selected for the given database version.static 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.postgresql(DatabaseVersion version) The PostgreSQL profile selected for the given database version.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 LockingSupportStandardLockingSupports.sqlServer(DatabaseVersion version) The SQL Server profile selected for the given database version.static LockingSupportStandardLockingSupports.standard()The standard statement-clause profile inherited byDialect.static LockingSupportStandardLockingSupports.standardWithoutOuterJoinLocking()The standard statement-clause profile without outer-join locking.static LockingSupportStandardLockingSupports.sybase()The Sybase profile.static LockingSupportStandardLockingSupports.sybaseAnywhere(DatabaseVersion version) The Sybase Anywhere profile selected for the given database version.static LockingSupportStandardLockingSupports.sybaseAse()The Sybase ASE profile.static LockingSupportStandardLockingSupports.timesTen()The TimesTen profile.Methods in org.hibernate.dialect.lock.spi with parameters of type LockingSupportModifier and TypeMethodDescriptionstatic LockingSqlRewriterStandardLockingSqlRewriters.forSupport(LockingSupport lockingSupport) Selects the standard raw-SQL strategy for a cohesive locking profile. -
Uses of LockingSupport in org.hibernate.sql.exec.spi
Methods in org.hibernate.sql.exec.spi with parameters of type LockingSupportModifier and TypeMethodDescriptionJdbcSelectWithActionsBuilder.setLockingSupport(LockingSupport lockingSupport) Dialect's support for locking.
TransactionConcurrencyResolver.