Java 类org.hibernate.annotations.SortComparator 实例源码

项目:lams    文件:CollectionBinder.java   
private AnnotationException buildIllegalSortCombination() {
    return new AnnotationException(
            String.format(
                    "Illegal combination of annotations on %s.  Only one of @%s, @%s and @%s can be used",
                    safeCollectionRole(),
                    Sort.class.getName(),
                    SortNatural.class.getName(),
                    SortComparator.class.getName()
            )
    );
}
项目:lams    文件:CollectionBinder.java   
public void setComparatorSort(SortComparator comparatorSort) {
    this.comparatorSort = comparatorSort;
}