Top Description Constructors Methods
org.hibernate

public Class PessimisticLockException

extends JDBCException
Class Inheritance
Imports
java.sql.SQLException

Thrown when a pessimistic locking conflict occurs.
Author
Scott Marlow

Constructor Summary

AccessConstructor and Description
public
PessimisticLockException(String
A message explaining the exception condition
message
,
SQLException
The underlying SQL exception
sqlException
,
String
The sql that led to the exception (may be null, though usually should not be)
sql
)

Constructs a PessimisticLockException using the specified information.

Method Summary

Inherited from org.hibernate.JDBCException:
getErrorCodegetSQLgetSQLExceptiongetSQLState

Constructor Detail

PessimisticLockExceptionback to summary
public PessimisticLockException(String message, SQLException sqlException, String sql)

Constructs a PessimisticLockException using the specified information.

Parameters
message:String

A message explaining the exception condition

sqlException:SQLException

The underlying SQL exception

sql:String

The sql that led to the exception (may be null, though usually should not be)