Top Description Constructors
org.hibernate

public Class OptimisticLockException

extends OptimisticEntityLockException
Class Inheritance
Annotations
@Deprecated
Imports
org.hibernate.dialect.lock.OptimisticEntityLockException

Deprecated

Use org.hibernate.dialect.lock.OptimisticEntityLockException instead

Throw when an optimistic locking conflict occurs.
Author
Scott Marlow

Constructor Summary

AccessConstructor and Description
public
OptimisticLockException(Object
The entity instance that could not be locked
entity
,
String
A message explaining the exception condition
message
)

Constructs a OptimisticLockException using the specified information.

Constructor Detail

OptimisticLockExceptionback to summary
public OptimisticLockException(Object entity, String message)

Constructs a OptimisticLockException using the specified information.

Parameters
entity:Object

The entity instance that could not be locked

message:String

A message explaining the exception condition