HHH-13496 Remove unused map of Property Names from AbstractCollectionPersister
This commit is contained in:
parent
bbfad943a0
commit
75fb7915f1
|
@ -229,7 +229,6 @@ public abstract class AbstractCollectionPersister
|
||||||
private final Serializable[] spaces;
|
private final Serializable[] spaces;
|
||||||
|
|
||||||
private Map collectionPropertyColumnAliases = new HashMap();
|
private Map collectionPropertyColumnAliases = new HashMap();
|
||||||
private Map collectionPropertyColumnNames = new HashMap();
|
|
||||||
|
|
||||||
public AbstractCollectionPersister(
|
public AbstractCollectionPersister(
|
||||||
Collection collectionBinding,
|
Collection collectionBinding,
|
||||||
|
@ -1940,7 +1939,6 @@ public abstract class AbstractCollectionPersister
|
||||||
private void initCollectionPropertyMap(String aliasName, Type type, String[] columnAliases, String[] columnNames) {
|
private void initCollectionPropertyMap(String aliasName, Type type, String[] columnAliases, String[] columnNames) {
|
||||||
|
|
||||||
collectionPropertyColumnAliases.put( aliasName, columnAliases );
|
collectionPropertyColumnAliases.put( aliasName, columnAliases );
|
||||||
collectionPropertyColumnNames.put( aliasName, columnNames );
|
|
||||||
|
|
||||||
if ( type.isComponentType() ) {
|
if ( type.isComponentType() ) {
|
||||||
CompositeType ct = (CompositeType) type;
|
CompositeType ct = (CompositeType) type;
|
||||||
|
@ -1948,7 +1946,6 @@ public abstract class AbstractCollectionPersister
|
||||||
for ( int i = 0; i < propertyNames.length; i++ ) {
|
for ( int i = 0; i < propertyNames.length; i++ ) {
|
||||||
String name = propertyNames[i];
|
String name = propertyNames[i];
|
||||||
collectionPropertyColumnAliases.put( aliasName + "." + name, columnAliases[i] );
|
collectionPropertyColumnAliases.put( aliasName + "." + name, columnAliases[i] );
|
||||||
collectionPropertyColumnNames.put( aliasName + "." + name, columnNames[i] );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue