HHH-3338 : Order of attributes in generated SQL query is dependent on Java version
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18529 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
94415151f7
commit
4d86564d32
|
@ -30,6 +30,7 @@ import java.util.HashSet;
|
|||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedHashSet;
|
||||
|
||||
import org.hibernate.AssertionFailure;
|
||||
import org.hibernate.Hibernate;
|
||||
|
@ -390,7 +391,7 @@ public class UnionSubclassEntityPersister extends AbstractEntityPersister {
|
|||
);
|
||||
}
|
||||
|
||||
HashSet columns = new HashSet();
|
||||
HashSet columns = new LinkedHashSet();
|
||||
Iterator titer = model.getSubclassTableClosureIterator();
|
||||
while ( titer.hasNext() ) {
|
||||
Table table = (Table) titer.next();
|
||||
|
|
Loading…
Reference in New Issue