| java.lang.Object org.hibernate.dialect.lock.UpdateLockingStrategy
UpdateLockingStrategy | public class UpdateLockingStrategy implements LockingStrategy(Code) | | A locking strategy where the locks are obtained through update statements.
This strategy is not valid for read style locks.
since: 3.2 author: Steve Ebersole |
Constructor Summary | |
public | UpdateLockingStrategy(Lockable lockable, LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.
Parameters: lockable - The metadata for the entity to be locked. Parameters: lockMode - Indictates the type of lock to be acquired. |
UpdateLockingStrategy | public UpdateLockingStrategy(Lockable lockable, LockMode lockMode)(Code) | | Construct a locking strategy based on SQL UPDATE statements.
Parameters: lockable - The metadata for the entity to be locked. Parameters: lockMode - Indictates the type of lock to be acquired. Note thatread-locks are not valid for this strategy. |
generateLockString | protected String generateLockString()(Code) | | |
|
|