Top Description Interfaces Classes
[default module]

Package org.hibernate.dialect.lock


Support for org.hibernate.dialect.Dialect-specific locking strategies.
See Also
org.hibernate.dialect.lock.LockingStrategy

Interface Summary

Modifier and TypeInterface and Description
public interface
LockingStrategy

A strategy abstraction for how locks are obtained in the underlying database.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractSelectLockingStrategy

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

public abstract class
LockingStrategyException

Represents an error trying to apply a LockingStrategy to an entity

public class
OptimisticEntityLockException

Represents an error trying to apply an optimistic LockingStrategy to an entity

public class
OptimisticForceIncrementLockingStrategy

An optimistic locking strategy that verifies that the version has not changed and then forces an increment of the version, just before committing the transaction.

public class
OptimisticLockingStrategy

An optimistic locking strategy that simply verifies that the version has not changed, just before committing the transaction.

public class
PessimisticEntityLockException

Represents an error trying to apply a pessimistic LockingStrategy to an entity

public class
PessimisticForceIncrementLockingStrategy

A pessimistic locking strategy where a lock is obtained by incrementing the version immediately, obtaining an exclusive write lock by side effect.

public class
PessimisticReadSelectLockingStrategy

A pessimistic locking strategy where a lock is obtained via a select statements.

public class
PessimisticReadUpdateLockingStrategy

A pessimistic locking strategy where a lock is obtained via an update statement.

public class
PessimisticWriteSelectLockingStrategy

A pessimistic locking strategy where a lock is obtained via a select statement.

public class
PessimisticWriteUpdateLockingStrategy

A pessimistic locking strategy where a lock is obtained via an update statement.

public class
SelectLockingStrategy

A locking strategy where a lock is obtained via a select statement.

public class
UpdateLockingStrategy

A locking strategy where a lock is obtained via an update statement.