EclipseLink ORM (fetch mode - sorting hint to avoid exception in EL). #PL-5412

This commit is contained in:
Konstantin Krivopustov 2015-09-29 05:44:03 +00:00
parent 7234a6defd
commit e5bbe5e7f2

View File

@ -73,7 +73,7 @@ public class FetchGroupManager {
processView(view, null, fetchGroupFields); processView(view, null, fetchGroupFields);
Set<String> fetchGroupAttributes = new TreeSet<>(); Set<String> fetchGroupAttributes = new TreeSet<>();
Map<String, String> fetchHints = new HashMap<>(); Map<String, String> fetchHints = new TreeMap<>(); // sort hints by attribute path
for (FetchGroupField field : fetchGroupFields) { for (FetchGroupField field : fetchGroupFields) {
fetchGroupAttributes.add(field.path()); fetchGroupAttributes.add(field.path());