| 
 | ||||||||||
| 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
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.
| Field Summary | |
|---|---|
| protected  String[] | aliases | 
| protected  int[] | collectionOwners | 
| protected  CollectionPersister[] | collectionPersisters | 
| protected  String[] | collectionSuffixes | 
| protected  LockMode[] | lockModeArray | 
| protected  EntityType[] | ownerAssociationTypes | 
| protected  int[] | owners | 
| protected  Loadable[] | persisters | 
| protected  String | sql | 
| protected  String[] | suffixes | 
| Fields inherited from class org.hibernate.loader.BasicLoader | 
|---|
| NO_SUFFIX | 
| Constructor Summary | |
|---|---|
| OuterJoinLoader(SessionFactoryImplementor factory,
                LoadQueryInfluencers loadQueryInfluencers) | |
| Method Summary | |
|---|---|
| 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[] | getCollectionOwners()Get the index of the entity that owns the collection, or -1 if there is no owner in the query results (ie. | 
| protected  CollectionPersister[] | getCollectionPersisters()An (optional) persister for a collection to be initialized; only collection loaders return a non-null value | 
| protected  String[] | getCollectionSuffixes() | 
| protected  Dialect | getDialect() | 
| protected  Loadable[] | getEntityPersisters()An array of persisters of entity classes contained in each row of results; implemented by all subclasses | 
|  LoadQueryInfluencers | getLoadQueryInfluencers() | 
| protected  LockMode[] | getLockModes(LockOptions lockOptions)What lock options does this load entities with? | 
| protected  LockOptions | getLockOptions() | 
| protected  EntityType[] | getOwnerAssociationTypes()An array of the owner types corresponding to the Loader.getOwners()returns. | 
| 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"). | 
| protected  String | getSQLString()The SQL query string to be called; implemented by all subclasses | 
| protected  String[] | getSuffixes() | 
| protected  void | initFromWalker(JoinWalker walker) | 
| Methods inherited from class org.hibernate.loader.BasicLoader | 
|---|
| generateSuffixes, generateSuffixes, getCollectionAliases, getEntityAliases, postInstantiate | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected Loadable[] persisters
protected CollectionPersister[] collectionPersisters
protected int[] collectionOwners
protected String[] aliases
protected LockMode[] lockModeArray
protected int[] owners
protected EntityType[] ownerAssociationTypes
protected String sql
protected String[] suffixes
protected String[] collectionSuffixes
| Constructor Detail | 
|---|
public OuterJoinLoader(SessionFactoryImplementor factory,
                       LoadQueryInfluencers loadQueryInfluencers)
| Method Detail | 
|---|
protected final Dialect getDialect()
protected String[] getSuffixes()
getSuffixes in class BasicLoaderprotected String[] getCollectionSuffixes()
getCollectionSuffixes in class BasicLoaderprotected final String getSQLString()
Loader
getSQLString in class LoaderResultSet.protected final Loadable[] getEntityPersisters()
Loader
getEntityPersisters in class Loaderprotected int[] getOwners()
LoaderLoader.getEntityPersisters().
getOwners in class Loaderprotected EntityType[] getOwnerAssociationTypes()
LoaderLoader.getOwners()
 returns.  Indices indicating no owner would be null here.
getOwnerAssociationTypes in class Loaderprotected LockMode[] getLockModes(LockOptions lockOptions)
Loader
getLockModes in class LoaderlockOptions - a collection of lock options specified dynamically via the Query interfaceprotected LockOptions getLockOptions()
public LoadQueryInfluencers getLoadQueryInfluencers()
protected final String[] getAliases()
Loader
getAliases in class Loaderprotected final CollectionPersister[] getCollectionPersisters()
Loader
getCollectionPersisters in class Loaderprotected final int[] getCollectionOwners()
Loader
getCollectionOwners in class Loaderprotected void initFromWalker(JoinWalker walker)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||