All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.ObjectNotFoundException Maven / Gradle / Ivy

The newest version!
//$Id: ObjectNotFoundException.java 9855 2006-05-02 18:55:45Z [email protected] $
package org.hibernate;

import java.io.Serializable;

/**
 * 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 */ public class ObjectNotFoundException extends UnresolvableObjectException { public ObjectNotFoundException(Serializable identifier, String clazz) { super(identifier, clazz); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy