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 |
getSuffix()
Returns the suffix used to generate the aliases.
|
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)
EntityAliases
getSuffixedPropertyAliases
in interface EntityAliases
public String[] getSuffixedVersionAliases()
EntityAliases
getSuffixedVersionAliases
in interface EntityAliases
public String[][] getSuffixedPropertyAliases()
EntityAliases
getSuffixedPropertyAliases
in interface EntityAliases
public String getSuffixedDiscriminatorAlias()
EntityAliases
getSuffixedDiscriminatorAlias
in interface EntityAliases
public String[] getSuffixedKeyAliases()
EntityAliases
getSuffixedKeyAliases
in interface EntityAliases
public String getRowIdAlias()
EntityAliases
getRowIdAlias
in interface EntityAliases
public String getSuffix()
EntityAliases
getSuffix
in interface EntityAliases
Copyright © 2019 JBoss by Red Hat. All rights reserved.