public abstract class BasicLoader extends Loader
Loader.SqlStatementWrapper| Modifier and Type | Field and Description | 
|---|---|
protected static String[] | 
NO_SUFFIX  | 
DEBUG_ENABLED, LOG, SELECT, SELECT_DISTINCT| Constructor and Description | 
|---|
BasicLoader(SessionFactoryImplementor factory)  | 
| Modifier and Type | Method and Description | 
|---|---|
static String[] | 
generateSuffixes(int length)
Utility method that generates 0_, 1_ suffixes. 
 | 
static String[] | 
generateSuffixes(int seed,
                int length)  | 
protected CollectionAliases[] | 
getCollectionAliases()  | 
protected abstract String[] | 
getCollectionSuffixes()  | 
protected EntityAliases[] | 
getEntityAliases()
Get the result set descriptor 
 | 
protected abstract String[] | 
getSuffixes()  | 
protected void | 
postInstantiate()
Calculate and cache select-clause suffixes. 
 | 
applyLocks, applyPostLoadLocks, areResultSetRowsTransformedImmediately, autoDiscoverTypes, bindNamedParameters, bindParameterValues, bindPositionalParameters, checkScrollability, determineFollowOnLockMode, doList, doQueryAndInitializeNonLazyCollections, doQueryAndInitializeNonLazyCollections, executeQueryStatement, executeQueryStatement, extractKeysFromResultSet, getAliases, getCollectionOwners, getCollectionPersisters, getCompositeKeyManyToOneTargetIndices, getEntityEagerPropertyFetches, getEntityPersisters, getFactory, getLimitHandler, getLockModes, getNamedParameterLocs, getOwnerAssociationTypes, getOwners, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultRow, getResultRowAliases, getResultSet, getResultSet, getSQLString, hasSubselectLoadableCollections, includeInResultRow, isSingleRowLoader, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, processDistinctKeyword, processResultSet, putResultInQueryCache, resolveResultTransformer, scroll, shouldUseFollowOnLocking, toString, upgradeLocksprotected static final String[] NO_SUFFIX
public BasicLoader(SessionFactoryImplementor factory)
protected final EntityAliases[] getEntityAliases()
LoadergetEntityAliases in class Loaderprotected final CollectionAliases[] getCollectionAliases()
getCollectionAliases in class Loaderprotected abstract String[] getSuffixes()
protected abstract String[] getCollectionSuffixes()
protected void postInstantiate()
LoaderpostInstantiate in class Loaderpublic static String[] generateSuffixes(int length)
length - The number of suffixes to generatepublic static String[] generateSuffixes(int seed, int length)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.