public abstract static class AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator<R>
Utility class to sort Entities on the basis of a Comparable property.
Comparisons of two null properties are considered 'equal' by this comparator.
Comparisons involving one null and one non-null property will return the null property as
being 'before' the non-null property.
Note that it is the responsibility of the calling code to ensure that the specified
property values actually implement Comparable themselves.