public abstract class BasicLoader extends Loader
Loader.SqlStatementWrapper
Modifier and Type | Field and Description |
---|---|
protected static String[] |
NO_SUFFIX |
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, bindPreparedStatement, checkScrollability, createCacheableResultTransformer, createSubselects, determineFollowOnLockMode, doList, doQueryAndInitializeNonLazyCollections, doQueryAndInitializeNonLazyCollections, endCollectionLoad, executeQueryStatement, executeQueryStatement, extractKeysFromResultSet, generateQueryKey, getAliases, getCollectionOwners, getCollectionPersisters, getCompositeKeyManyToOneTargetIndices, getEntityEagerPropertyFetches, getEntityPersister, getEntityPersisters, getFactory, getLimitHandler, getLockModes, getNamedParameterLocs, getOptionalObjectKey, getOwnerAssociationTypes, getOwners, getQueryIdentifier, getResultColumnOrRow, getResultFromQueryCache, getResultList, getResultRow, getResultRowAliases, getResultSet, getResultSet, getRowsFromResultSet, getSQLString, handleEmptyCollections, hasSubselectLoadableCollections, includeInResultRow, instanceAlreadyLoaded, instanceNotYetLoaded, isSingleRowLoader, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessResultSet, preprocessSQL, processDistinctKeyword, processResultSet, putResultInQueryCache, registerNonExists, 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 © 2001-2020 Red Hat, Inc. All Rights Reserved.