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

org.hibernate.loader.entity.UniqueEntityLoader Maven / Gradle / Ivy

There is a newer version: 3.6.0.Beta2
Show newest version
//$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 - 2024 Weber Informatics LLC | Privacy Policy