FileDocCategorySizeDatePackage
ObjectNotFoundException.javaAPI DocHibernate 3.2.5826Tue May 02 13:55:46 BST 2006org.hibernate

ObjectNotFoundException

public class ObjectNotFoundException extends UnresolvableObjectException
Thrown when Session.load() fails to select a row with the given primary key (identifier value). This exception might not be thrown when load() is called, even if there was no row on the database, because load() returns a proxy if possible. Applications should use Session.get() to test if a row exists in the database.

Like all Hibernate exceptions, this exception is considered unrecoverable.
author
Gavin King

Fields Summary
Constructors Summary
public ObjectNotFoundException(Serializable identifier, String clazz)

		super(identifier, clazz);
	
Methods Summary