org.hibernate.loader.entity.UniqueEntityLoader Maven / Gradle / Ivy
//$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;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy