|
||||||||||
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
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.
Field Summary | |
---|---|
protected static java.lang.String[] |
NO_SUFFIX
|
Constructor Summary | |
---|---|
BasicLoader(SessionFactoryImplementor factory)
|
Method Summary | |
---|---|
static java.lang.String[] |
generateSuffixes(int length)
Utility method that generates 0_, 1_ suffixes. |
static java.lang.String[] |
generateSuffixes(int seed,
int length)
Utility method that generates alias suffixes. |
protected CollectionAliases[] |
getCollectionAliases()
|
protected abstract java.lang.String[] |
getCollectionSuffixes()
|
protected EntityAliases[] |
getEntityAliases()
Get the result set descriptor |
protected abstract java.lang.String[] |
getSuffixes()
|
protected void |
postInstantiate()
Calculate and cache select-clause suffixes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String[] NO_SUFFIX
Constructor Detail |
---|
public BasicLoader(SessionFactoryImplementor factory)
Method Detail |
---|
protected final EntityAliases[] getEntityAliases()
Loader
getEntityAliases
in class Loader
protected final CollectionAliases[] getCollectionAliases()
getCollectionAliases
in class Loader
protected abstract java.lang.String[] getSuffixes()
protected abstract java.lang.String[] getCollectionSuffixes()
protected void postInstantiate()
Loader
postInstantiate
in class Loader
public static java.lang.String[] generateSuffixes(int length)
generateSuffixes(0,length
length
- The number of suffixes to generate
public static java.lang.String[] generateSuffixes(int seed, int length)
seed
- The number from which to begin the suffix sequencing. For example,
a seed of 0 would return 0_ as the first suffix; a seed of 5 would return 5_ as
the first suffix.length
- The number of suffixes to generate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |