Class AbstractEntityJoinWalker

    • Method Detail

      • initProjection

        protected final void initProjection​(java.lang.String projectionString,
                                            java.lang.String whereString,
                                            java.lang.String orderByString,
                                            java.lang.String groupByString,
                                            LockOptions lockOptions)
                                     throws MappingException
        Throws:
        MappingException
      • isJoinFetchEnabledByProfile

        protected final boolean isJoinFetchEnabledByProfile​(OuterJoinLoadable persister,
                                                            PropertyPath path,
                                                            int propertyNumber)
      • getComment

        public abstract java.lang.String getComment()
      • isDuplicateAssociation

        protected boolean isDuplicateAssociation​(java.lang.String foreignKeyTable,
                                                 java.lang.String[] foreignKeyColumns)
        Description copied from class: JoinWalker
        Used to detect circularities in the joined graph, note that this method is side-effecty
        Overrides:
        isDuplicateAssociation in class JoinWalker
      • getPersister

        public final Loadable getPersister()
      • getAlias

        public final java.lang.String getAlias()
      • orderBy

        protected java.lang.String orderBy​(java.util.List associations,
                                           java.lang.String orderBy)
        For entities, orderings added by, for example, Criteria#addOrder need to come before the associations' @OrderBy values. However, other sub-classes of JoinWalker (BasicCollectionJoinWalker, OneToManyJoinWalker, etc.) still need the other way around. So, override here instead. See HHH-7116.
        Overrides:
        orderBy in class JoinWalker
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object