org.hibernate.loader.entity

Interface UniqueEntityLoader

Known Implementing Classes:
AbstractEntityLoader, BatchingEntityLoader, CascadeEntityLoader, EntityLoader, NamedQueryLoader

public interface UniqueEntityLoader

Loads entities for a EntityPersister
Author:
Gavin King

Method Summary

Object
load(Serializable id, Object optionalObject, SessionImplementor session)
Load an entity instance.

Method Details

load

public Object load(Serializable id,
                   Object optionalObject,
                   SessionImplementor session)
            throws HibernateException
Load an entity instance. If optionalObject is supplied, load the entity state into the given (uninitialized) object.