| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| protected static final Logger | |
| protected final OuterJoinLoadable | |
| protected final Type |
| Access | Constructor and Description |
|---|---|
| public | AbstractEntityLoader(OuterJoinLoadable persister, Type uniqueKeyType, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
|
| Modifier and Type | Method and Description |
|---|---|
| protected Object | getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
Get the actual object that is returned in the user-visible result list.
|
| protected boolean | isSingleRowLoader()
Return false is this loader is a batch entity loader
|
| public Object | load(Serializable id, Object optionalObject, SessionImplementor session)
Implements org. |
| 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. |
| protected Object | load(SessionImplementor session, Object id, Object optionalObject, Serializable optionalId, LockOptions lockOptions)
|
| entityName | back to summary |
|---|---|
| protected final String entityName | |
| log | back to summary |
|---|---|
| protected static final Logger log | |
| persister | back to summary |
|---|---|
| protected final OuterJoinLoadable persister | |
| uniqueKeyType | back to summary |
|---|---|
| protected final Type uniqueKeyType | |
| AbstractEntityLoader | back to summary |
|---|---|
| public AbstractEntityLoader(OuterJoinLoadable persister, Type uniqueKeyType, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) | |
| getResultColumnOrRow | back to summary |
|---|---|
| protected Object getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session) throws SQLException, HibernateException Overrides org. Doc from org. Get the actual object that is returned in the user-visible result list. This empty implementation merely returns its first argument. This is overridden by some subclasses. | |
| isSingleRowLoader | back to summary |
|---|---|
| protected boolean isSingleRowLoader() Overrides org. Doc from org. Return false is this loader is a batch entity loader | |
| 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. | |
| 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 |
|---|---|
| protected Object load(SessionImplementor session, Object id, Object optionalObject, Serializable optionalId, LockOptions lockOptions) | |