public abstract class BasicLoader extends Loader
Loader.SqlStatementWrapper
Modifier and Type | Field and Description |
---|---|
protected static String[] |
NO_SUFFIX |
DEBUG_ENABLED, LOG
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, getSQLString, hasSubselectLoadableCollections, includeInResultRow, isSingleRowLoader, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, processResultSet, putResultInQueryCache, resolveResultTransformer, scroll, shouldUseFollowOnLocking, toString, upgradeLocks
protected static final String[] NO_SUFFIX
public BasicLoader(SessionFactoryImplementor factory)
protected final EntityAliases[] getEntityAliases()
Loader
getEntityAliases
in class Loader
protected final CollectionAliases[] getCollectionAliases()
getCollectionAliases
in class Loader
protected abstract String[] getSuffixes()
protected abstract String[] getCollectionSuffixes()
protected void postInstantiate()
Loader
postInstantiate
in class Loader
public static String[] generateSuffixes(int length)
length
- The number of suffixes to generatepublic static String[] generateSuffixes(int seed, int length)
Copyright © 2017 JBoss by Red Hat. All rights reserved.