public class StaleObjectStateException extends StaleStateException
A StaleStateException that carries information
about a particular entity instance that was the source
of the failure.
author
Gavin King
Fields Summary
private final String
entityName
private final Serializable
identifier
Constructors Summary
public StaleObjectStateException(String persistentClass, Serializable identifier)
super("Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)");
this.entityName = persistentClass;
this.identifier = identifier;