类 BasicLoader

  • 直接已知子类:
    OuterJoinLoader, QueryLoader, QueryTranslatorImpl

    public abstract class BasicLoader
    extends Loader
    Uses the default mapping from property to result set column alias defined by the entities' persisters. Used when Hibernate is generating result set column aliases.
    作者:
    Gavin King
    • 字段详细资料

      • NO_SUFFIX

        protected static final String[] NO_SUFFIX
    • 方法详细资料

      • getSuffixes

        protected abstract String[] getSuffixes()
      • getCollectionSuffixes

        protected abstract String[] getCollectionSuffixes()
      • postInstantiate

        protected void postInstantiate()
        从类复制的说明: Loader
        Calculate and cache select-clause suffixes. Must be called by subclasses after instantiation.
        覆盖:
        postInstantiate 在类中 Loader
      • generateSuffixes

        public static String[] generateSuffixes​(int length)
        Utility method that generates 0_, 1_ suffixes. Subclasses don't necessarily need to use this algorithm, but it is intended that they will in most cases.
        参数:
        length - The number of suffixes to generate
        返回:
        The array of generated suffixes (with length=length).
      • generateSuffixes

        public static String[] generateSuffixes​(int seed,
                                                int length)