Top Description Interfaces Classes
[default module]

Package org.hibernate.dialect.lock


Support for Dialect-specific locking strategies

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 forces an increment of the version (after verifying that version hasn't changed).

public class
OptimisticLockingStrategy

An optimistic locking strategy that verifies that the version hasn't changed (prior to transaction commit).

public class
PessimisticEntityLockException

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

public class
PessimisticForceIncrementLockingStrategy

A pessimistic locking strategy that increments the version immediately (obtaining an exclusive write lock).

public class
PessimisticReadSelectLockingStrategy

A pessimistic locking strategy where the locks are obtained through select statements.

public class
PessimisticReadUpdateLockingStrategy

A pessimistic locking strategy where the locks are obtained through update statements.

public class
PessimisticWriteSelectLockingStrategy

A pessimistic locking strategy where the locks are obtained through select statements.

public class
PessimisticWriteUpdateLockingStrategy

A pessimistic locking strategy where the locks are obtained through update statements.

public class
SelectLockingStrategy

A locking strategy where the locks are obtained through select statements.

public class
UpdateLockingStrategy

A locking strategy where the locks are obtained through update statements.