注释类型 Sort

    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      Class comparator
      已过时。
      Specifies the comparator to use.
      SortType type
      已过时。
      The type of sorting to use.
    • 元素详细资料

      • type

        SortType type
        已过时。
        The type of sorting to use. The default is to not use sorting.
        默认值:
        org.hibernate.annotations.SortType.UNSORTED
      • comparator

        Class comparator
        已过时。
        Specifies the comparator to use. Only valid when type() specifies SortType.COMPARATOR. TODO find a way to use Class -> see HHH-8164
        默认值:
        void.class