|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.loader.DefaultEntityAliases
public class DefaultEntityAliases
EntityAliases which handles the logic of selecting user provided aliases (via return-property), before using the default aliases.
Constructor Summary | |
---|---|
DefaultEntityAliases(Loadable persister,
String suffix)
|
|
DefaultEntityAliases(Map userProvidedAliases,
Loadable persister,
String suffix)
Calculate and cache select-clause aliases |
Method Summary | |
---|---|
protected String |
getDiscriminatorAlias(Loadable persister,
String suffix)
|
protected String[] |
getIdentifierAliases(Loadable persister,
String suffix)
|
protected String[] |
getPropertyAliases(Loadable persister,
int j)
|
String |
getRowIdAlias()
The result set column alias for the Oracle row id |
String |
getSuffixedDiscriminatorAlias()
The result set column aliases for the discriminator columns |
String[] |
getSuffixedKeyAliases()
The result set column aliases for the primary key columns |
String[][] |
getSuffixedPropertyAliases()
The result set column aliases for the property columns |
String[][] |
getSuffixedPropertyAliases(Loadable persister)
The result set column aliases for the property columns of a subclass |
String[] |
getSuffixedVersionAliases()
The result set column aliases for the version columns |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEntityAliases(Map userProvidedAliases, Loadable persister, String suffix)
userProvidedAliases
- The explicit aliases provided in a result-set mapping.persister
- The persister for which we are generating select aliasessuffix
- The calculated suffix.public DefaultEntityAliases(Loadable persister, String suffix)
Method Detail |
---|
protected String getDiscriminatorAlias(Loadable persister, String suffix)
protected String[] getIdentifierAliases(Loadable persister, String suffix)
protected String[] getPropertyAliases(Loadable persister, int j)
public String[][] getSuffixedPropertyAliases(Loadable persister)
getSuffixedPropertyAliases
in interface EntityAliases
public String[] getSuffixedVersionAliases()
getSuffixedVersionAliases
in interface EntityAliases
public String[][] getSuffixedPropertyAliases()
getSuffixedPropertyAliases
in interface EntityAliases
public String getSuffixedDiscriminatorAlias()
getSuffixedDiscriminatorAlias
in interface EntityAliases
public String[] getSuffixedKeyAliases()
getSuffixedKeyAliases
in interface EntityAliases
public String getRowIdAlias()
getRowIdAlias
in interface EntityAliases
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |