public class DefaultEntityAliases extends Object implements EntityAliases
Constructor and Description |
---|
DefaultEntityAliases(Loadable persister,
String suffix) |
DefaultEntityAliases(Map userProvidedAliases,
Loadable persister,
String suffix)
Calculate and cache select-clause aliases
|
Modifier and Type | Method and Description |
---|---|
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
|
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 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
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.