org.hibernate.loader
Class OuterJoinLoader
public abstract class OuterJoinLoader
Implements logic for walking a tree of associated classes.
Generates an SQL select string containing all properties of those classes.
Tables are joined using an ANSI-style left outer join.
applyLocks, autoDiscoverTypes, bindNamedParameters, bindParameterValues, bindPositionalParameters, checkScrollability, doList, getAliases, getCollectionAliases, getCollectionOwners, getCollectionPersisters, getEntityAliases, getEntityEagerPropertyFetches, getEntityPersisters, getFactory, getLockModes, getNamedParameterLocs, getOwnerAssociationTypes, getOwners, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultSet, getSQLString, hasSubselectLoadableCollections, isSingleRowLoader, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, postInstantiate, prepareQueryStatement, preprocessSQL, scroll, toString, upgradeLocks |
aliases
protected String[] aliases
collectionOwners
protected int[] collectionOwners
collectionSuffixes
protected String[] collectionSuffixes
lockModeArray
protected LockMode[] lockModeArray
ownerAssociationTypes
protected EntityType[] ownerAssociationTypes
owners
protected int[] owners
persisters
protected Loadable[] persisters
suffixes
protected String[] suffixes
getAliases
protected final String[] getAliases()
Get the SQL table aliases of entities whose
associations are subselect-loadable, returning
null if this loader does not support subselect
loading
- getAliases in interface Loader
getCollectionOwners
protected final int[] getCollectionOwners()
Get the index of the entity that owns the collection, or -1
if there is no owner in the query results (ie. in the case of a
collection initializer) or no collection.
- getCollectionOwners in interface Loader
getDialect
protected final Dialect getDialect()
getEnabledFilters
public Map getEnabledFilters()
getEntityPersisters
protected final Loadable[] getEntityPersisters()
An array of persisters of entity classes contained in each row of results;
implemented by all subclasses
- getEntityPersisters in interface Loader
getLockModes
protected LockMode[] getLockModes(Map lockModes)
What lock mode does this load entities with?
- getLockModes in interface Loader
lockModes - a collection of lock modes specified dynamically via the Query interface
getOwners
protected int[] getOwners()
An array of indexes of the entity that owns a one-to-one association
to the entity at the given index (-1 if there is no "owner"). The
indexes contained here are relative to the result of
Loader.getEntityPersisters().
- getOwners in interface Loader
- The owner indicators (see discussion above).
getSQLString
protected final String getSQLString()
The SQL query string to be called; implemented by all subclasses
- getSQLString in interface Loader
- The sql command this loader should use to get its
ResultSet.
initFromWalker
protected void initFromWalker(JoinWalker walker)