Top Description Constructors Methods
org.hibernate.dialect.lock

public Class PessimisticEntityLockException

extends LockingStrategyException
Class Inheritance
Imports
org.hibernate.JDBCException

Represents an error trying to apply a pessimistic LockingStrategy to an entity
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
PessimisticEntityLockException(Object
The entity we were trying to lock
entity
,
String
Message explaining the condition
message
,
JDBCException
The underlying cause
cause
)

Constructs a PessimisticEntityLockException

Method Summary

Inherited from org.hibernate.dialect.lock.LockingStrategyException:
getEntity

Constructor Detail

PessimisticEntityLockExceptionback to summary
public PessimisticEntityLockException(Object entity, String message, JDBCException cause)

Constructs a PessimisticEntityLockException

Parameters
entity:Object

The entity we were trying to lock

message:String

Message explaining the condition

cause:JDBCException

The underlying cause