diff --git a/hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java b/hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java index c5ac7ab813..0625ad0a8a 100644 --- a/hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java +++ b/hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java @@ -229,7 +229,6 @@ public abstract class AbstractCollectionPersister private final Serializable[] spaces; private Map collectionPropertyColumnAliases = new HashMap(); - private Map collectionPropertyColumnNames = new HashMap(); public AbstractCollectionPersister( Collection collectionBinding, @@ -1940,7 +1939,6 @@ public abstract class AbstractCollectionPersister private void initCollectionPropertyMap(String aliasName, Type type, String[] columnAliases, String[] columnNames) { collectionPropertyColumnAliases.put( aliasName, columnAliases ); - collectionPropertyColumnNames.put( aliasName, columnNames ); if ( type.isComponentType() ) { CompositeType ct = (CompositeType) type; @@ -1948,7 +1946,6 @@ public abstract class AbstractCollectionPersister for ( int i = 0; i < propertyNames.length; i++ ) { String name = propertyNames[i]; collectionPropertyColumnAliases.put( aliasName + "." + name, columnAliases[i] ); - collectionPropertyColumnNames.put( aliasName + "." + name, columnNames[i] ); } }