mapping order impacting behavior leading to bug

git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_3@18863 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-02-23 21:52:59 +00:00
parent 22728f5d15
commit 9b09080499
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ public abstract class AbstractCollectionPersister
// NativeSQL: collect key column and auto-aliases
Column col = ( (Column) iter.next() );
keyColumnNames[k] = col.getQuotedName(dialect);
keyColumnAliases[k] = col.getAlias(dialect);
keyColumnAliases[k] = col.getAlias(dialect,collection.getOwner().getRootTable());
k++;
}