Class PessimisticReadSelectLockingStrategy

    • Constructor Detail

      • PessimisticReadSelectLockingStrategy

        public PessimisticReadSelectLockingStrategy​(Lockable lockable,
                                                    LockMode lockMode)
        Construct a locking strategy based on SQL SELECT statements.
        Parameters:
        lockable - The metadata for the entity to be locked.
        lockMode - Indicates the type of lock to be acquired.