org.hibernate.loader
Class BasicLoader
public abstract class BasicLoader
Uses the default mapping from property to result set column
alias defined by the entities' persisters. Used when Hibernate
is generating result set column aliases.
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 |
NO_SUFFIX
protected static final String[] NO_SUFFIX
generateSuffixes
public static String[] generateSuffixes(int length)
Utility method that generates 0_, 1_ suffixes. Subclasses don't
necessarily need to use this algorithm, but it is intended that
they will in most cases.
generateSuffixes
public static String[] generateSuffixes(int seed,
int length)
getCollectionSuffixes
protected abstract String[] getCollectionSuffixes()
getSuffixes
protected abstract String[] getSuffixes()
postInstantiate
protected void postInstantiate()
Calculate and cache select-clause suffixes. Must be
called by subclasses after instantiation.
- postInstantiate in interface Loader