Files
hibernate-demo/docs/output/22-sort-natural-and-comparator.txt
T

5 lines
439 B
Plaintext

$ mvn -o -B test -Dtest=SortingTest#sortNaturalAndSortComparator_onElementCollections
(trimmed to the test's own RESULT line)
RESULT[sorting-natural-and-comparator]: @SortNatural tags=[acoustic, live, rock] (plain alphabetical) | @SortComparator genres=[pop, folk, jazz-fusion] (shortest name first, alphabetical tiebreaker) -- both are real java.util.TreeSet instances rebuilt in memory on load, not an ORDER BY on the collection table.