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:
parent
22728f5d15
commit
9b09080499
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue