|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.loader.Loader
org.hibernate.loader.BasicLoader
org.hibernate.loader.OuterJoinLoader
org.hibernate.loader.AbstractEntityLoader
Abstract superclass for entity loaders that use outer joins
CriteriaLoader,
EntityLoader| Field Summary |
| Fields inherited from class org.hibernate.loader.OuterJoinLoader |
lockModeArray, ownerAssociationType, owners, persisters, sql, suffixes |
| Fields inherited from class org.hibernate.loader.BasicLoader |
NO_SUFFIX |
| Constructor Summary | |
AbstractEntityLoader(OuterJoinLoadable persister,
SessionFactoryImplementor factory,
Map enabledFilters)
|
|
| Method Summary | |
protected String |
getAlias()
|
protected String[] |
getAliases()
Get the SQL table aliases of entities whose associations are subselect-loadable, returning null if this loader does not support subselect loading |
protected int |
getCollectionOwner()
Get the index of the entity that owns the collection, or -1 if there is no owner in the query results (ie. |
protected CollectionPersister |
getCollectionPersister()
An (optional) persister for a collection to be initialized; only collection loaders return a non-null value |
abstract String |
getComment()
|
protected Loadable |
getPersister()
|
protected String |
getWhereFragment()
Don't bother with the discriminator, unless overridded by subclass |
protected void |
initAll(String whereString,
String orderByString,
LockMode lockMode)
|
protected void |
initProjection(String projectionString,
String whereString,
String orderByString,
String groupByString,
LockMode lockMode)
|
protected boolean |
isJoinedFetchEnabled(AssociationType type,
FetchMode config)
The superclass deliberately excludes collections |
String |
toString()
|
| Methods inherited from class org.hibernate.loader.BasicLoader |
generateSuffixes, getEntityAliases, postInstantiate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AbstractEntityLoader(OuterJoinLoadable persister,
SessionFactoryImplementor factory,
Map enabledFilters)
| Method Detail |
protected String[] getAliases()
Loader
getAliases in class Loader
protected final void initAll(String whereString,
String orderByString,
LockMode lockMode)
throws MappingException
MappingException
protected final void initProjection(String projectionString,
String whereString,
String orderByString,
String groupByString,
LockMode lockMode)
throws MappingException
MappingException
protected String getWhereFragment()
throws MappingException
MappingExceptionprotected final Loadable getPersister()
protected final String getAlias()
protected final CollectionPersister getCollectionPersister()
Loader
getCollectionPersister in class Loaderprotected final int getCollectionOwner()
Loader
getCollectionOwner in class Loader
protected boolean isJoinedFetchEnabled(AssociationType type,
FetchMode config)
isJoinedFetchEnabled in class OuterJoinLoaderpublic String toString()
toString in class Loaderpublic abstract String getComment()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||