org.hibernate.loader.entity.UniqueEntityLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate Show documentation
Show all versions of hibernate Show documentation
Relational Persistence for Java
//$Id: UniqueEntityLoader.java 5699 2005-02-13 11:50:11Z oneovthafew $
package org.hibernate.loader.entity;
import java.io.Serializable;
import org.hibernate.HibernateException;
import org.hibernate.engine.SessionImplementor;
/**
* Loads entities for a EntityPersister
* @author Gavin King
*/
public interface UniqueEntityLoader {
/**
* Load an entity instance. If optionalObject is supplied,
* load the entity state into the given (uninitialized) object.
*/
public Object load(Serializable id, Object optionalObject, SessionImplementor session) throws HibernateException;
}