Module io.ebean.api
Package io.ebean

Class AcquireLockException

  • All Implemented Interfaces:
    Serializable

    public class AcquireLockException
    extends javax.persistence.PessimisticLockException
    Thrown when failing to acquire a pessimistic lock.

    Typically when "select for update nowait" or "select for update" is being used and the lock can not be obtained (as it is held by another transaction).

    See Also:
    Serialized Form
    • Constructor Detail

      • AcquireLockException

        public AcquireLockException​(String message,
                                    Throwable cause)
        Create with a message and cause.