| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final EntityPersister | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | load(Serializable
The id to be loaded id, Object The (optional) entity instance in to which to load the state optionalObject, SessionImplementor The session from which the request originated session, LockOptions The lock options. lockOptions)Implements org. |
| public Object | load(Serializable id, Object optionalObject, SessionImplementor session)
Implements org. |
| log | back to summary |
|---|---|
| private static final Logger log | |
| persister | back to summary |
|---|---|
| private final EntityPersister persister | |
| queryName | back to summary |
|---|---|
| private final String queryName | |
| NamedQueryLoader | back to summary |
|---|---|
| public NamedQueryLoader(String queryName, EntityPersister persister) | |
| load | back to summary |
|---|---|
| public Object load(Serializable id, Object optionalObject, SessionImplementor session, LockOptions lockOptions) Implements org. Doc from org. Load an entity instance by id. If optionalObject is supplied (non-null, the entity state is loaded into that object instance instead of instantiating a new one.
| |
| load | back to summary |
|---|---|
| public Object load(Serializable id, Object optionalObject, SessionImplementor session) Implements org. Doc from org. Load an entity instance. If optionalObject is supplied, load the entity state into the given (uninitialized) object. | |