类 OrderByFragmentTranslator


  • public class OrderByFragmentTranslator
    extends Object
    A translator for order-by mappings, whether specified by hbm.xml files, Hibernate OrderBy annotation or JPA OrderBy annotation.
    作者:
    Steve Ebersole
    • 构造器详细资料

      • OrderByFragmentTranslator

        public OrderByFragmentTranslator()
    • 方法详细资料

      • translate

        public static OrderByTranslation translate​(TranslationContext context,
                                                   String fragment)
        Perform the translation of the user-supplied fragment, returning the translation.

        The important distinction to this split between (1) translating and (2) resolving aliases is that both happen at different times

        参数:
        context - Context giving access to delegates needed during translation.
        fragment - The user-supplied order-by fragment
        返回:
        The translation.