Top Description Fields Constructors Methods
org.hibernate.dialect.lock

public abstract Class AbstractSelectLockingStrategy

extends Object
implements LockingStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.dialect.lock.LockingStrategy
Known Direct Subclasses
org.hibernate.dialect.lock.PessimisticReadSelectLockingStrategy, org.hibernate.dialect.lock.PessimisticWriteSelectLockingStrategy, org.hibernate.dialect.lock.SelectLockingStrategy
Imports
org.hibernate.LockMode, .LockOptions, org.hibernate.persister.entity.Lockable

Base LockingStrategy implementation to support implementations based on issuing SQL SELECT statements
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Lockable
lockable

Deprecated as a consequence of Lockable being deprecated.
private final LockMode
private String
private String
private final String

Constructor Summary

AccessConstructor and Description
protected
AbstractSelectLockingStrategy(Lockable lockable, LockMode lockMode)

Deprecated as a consequence of Lockable being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected String
determineSql(int timeout)

protected abstract String
generateLockString(int lockTimeout)

protected Lockable
getLockable()

Deprecated as a consequence of Lockable being deprecated.
protected LockMode
protected String
protected String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lockableback to summary
private final Lockable lockable

Deprecated

as a consequence of Lockable being deprecated. See corresponding docs for further information.

lockModeback to summary
private final LockMode lockMode
noWaitSqlback to summary
private String noWaitSql
skipLockedSqlback to summary
private String skipLockedSql
waitForeverSqlback to summary
private final String waitForeverSql

Constructor Detail

AbstractSelectLockingStrategyback to summary
protected AbstractSelectLockingStrategy(Lockable lockable, LockMode lockMode)

Deprecated

as a consequence of Lockable being deprecated. See corresponding docs for further information.

Method Detail

determineSqlback to summary
protected String determineSql(int timeout)
generateLockStringback to summary
protected abstract String generateLockString(int lockTimeout)
getLockableback to summary
protected Lockable getLockable()

Deprecated

as a consequence of Lockable being deprecated. See corresponding docs for further information.

getLockModeback to summary
protected LockMode getLockMode()
getNoWaitSqlback to summary
protected String getNoWaitSql()
getSkipLockedSqlback to summary
protected String getSkipLockedSql()