Class TransactSQLLockingSupport
java.lang.Object
org.hibernate.dialect.lock.internal.LockingSupportParameterized
org.hibernate.dialect.lock.internal.TransactSQLLockingSupport
- All Implemented Interfaces:
LockingSupport
,LockingSupport.Metadata
Locking support for TransactSQL based Dialects (SQL Server and Sybase).
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.hibernate.dialect.lock.spi.LockingSupport
LockingSupport.Metadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LockingSupport
static final LockingSupport
static final LockingSupport
static final LockingSupport
-
Constructor Summary
ConstructorsConstructorDescriptionTransactSQLLockingSupport
(PessimisticLockStyle pessimisticLockStyle, LockTimeoutType wait, LockTimeoutType noWait, LockTimeoutType skipLocked, RowLockStrategy rowLockStrategy, OuterJoinLockingType outerJoinLockingType, ConnectionLockTimeoutStrategy connectionLockTimeoutStrategy) -
Method Summary
Modifier and TypeMethodDescriptionstatic LockingSupport
forSybaseAnywhere
(DatabaseVersion version) Access to the delegate which can be used for applying lock timeouts using the JDBC connection, generally via execution of a command/statement.Methods inherited from class org.hibernate.dialect.lock.internal.LockingSupportParameterized
getLockTimeoutType, getMetadata, getOuterJoinLockingType, getPessimisticLockStyle, getWriteRowLockStrategy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.dialect.lock.spi.LockingSupport.Metadata
getReadRowLockStrategy, supportsForUpdate, supportsNoWait, supportsSkipLocked, supportsWait
-
Field Details
-
SQL_SERVER
-
SYBASE
-
SYBASE_ASE
-
SYBASE_LEGACY
-
-
Constructor Details
-
TransactSQLLockingSupport
public TransactSQLLockingSupport(PessimisticLockStyle pessimisticLockStyle, LockTimeoutType wait, LockTimeoutType noWait, LockTimeoutType skipLocked, RowLockStrategy rowLockStrategy, OuterJoinLockingType outerJoinLockingType, ConnectionLockTimeoutStrategy connectionLockTimeoutStrategy)
-
-
Method Details
-
forSybaseAnywhere
-
getConnectionLockTimeoutStrategy
Description copied from interface:LockingSupport
Access to the delegate which can be used for applying lock timeouts using the JDBC connection, generally via execution of a command/statement.- Specified by:
getConnectionLockTimeoutStrategy
in interfaceLockingSupport
- Overrides:
getConnectionLockTimeoutStrategy
in classLockingSupportParameterized
-