FileDocCategorySizeDatePackage
StaleObjectStateException.javaAPI DocHibernate 3.2.51008Sat Feb 12 00:19:50 GMT 2005org.hibernate

StaleObjectStateException

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;
	
Methods Summary
public java.lang.StringgetEntityName()

		return entityName;
	
public java.io.SerializablegetIdentifier()

		return identifier;
	
public java.lang.StringgetMessage()

		return super.getMessage() + ": " +
			MessageHelper.infoString(entityName, identifier);