Class TransactSQLLockingSupport.SQLServerImpl
java.lang.Object
org.hibernate.dialect.lock.internal.TransactSQLLockingSupport.SQLServerImpl
- All Implemented Interfaces:
ConnectionLockTimeoutStrategy
- Enclosing class:
TransactSQLLockingSupport
public static class TransactSQLLockingSupport.SQLServerImpl
extends Object
implements ConnectionLockTimeoutStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategy
ConnectionLockTimeoutStrategy.Level -
Field Summary
FieldsFields inherited from interface org.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategy
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLockTimeout(Connection connection, SessionFactoryImplementor factory) Read the lock timeout associated with the JDBC connection, if supported and there is one.What type, if any, of support this Dialect has for lock timeouts on the JDBC connection.voidsetLockTimeout(Timeout timeout, Connection connection, SessionFactoryImplementor factory) Set the lock timeout associated with the JDBC connection (if supported), in milliseconds.
-
Field Details
-
IMPL
-
-
Constructor Details
-
SQLServerImpl
public SQLServerImpl()
-
-
Method Details
-
getSupportedLevel
Description copied from interface:ConnectionLockTimeoutStrategyWhat type, if any, of support this Dialect has for lock timeouts on the JDBC connection.- Specified by:
getSupportedLevelin interfaceConnectionLockTimeoutStrategy- See Also:
-
getLockTimeout
Description copied from interface:ConnectionLockTimeoutStrategyRead the lock timeout associated with the JDBC connection, if supported and there is one.- Specified by:
getLockTimeoutin interfaceConnectionLockTimeoutStrategy- See Also:
-
setLockTimeout
public void setLockTimeout(Timeout timeout, Connection connection, SessionFactoryImplementor factory) Description copied from interface:ConnectionLockTimeoutStrategySet the lock timeout associated with the JDBC connection (if supported), in milliseconds.- Specified by:
setLockTimeoutin interfaceConnectionLockTimeoutStrategy- See Also:
-