net.sf.hibernate.loader
Interface UniqueEntityLoader

All Known Implementing Classes:
BatchingEntityLoader, EntityLoader, SimpleEntityLoader

public interface UniqueEntityLoader

Loads entities for a ClassPersister

Author:
Gavin King

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

Method Detail

load

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

Throws:
HibernateException
SQLException