Class BasicCollectionJoinWalker

    • Method Detail

      • getJoinType

        protected JoinType getJoinType​(OuterJoinLoadable persister,
                                       PropertyPath path,
                                       int propertyNumber,
                                       AssociationType associationType,
                                       FetchMode metadataFetchMode,
                                       CascadeStyle metadataCascadeStyle,
                                       java.lang.String lhsTable,
                                       java.lang.String[] lhsColumns,
                                       boolean nullable,
                                       int currentDepth)
                                throws MappingException
        Description copied from class: JoinWalker
        Determine the appropriate type of join (if any) to use to fetch the given association.
        getJoinType in class JoinWalker
        persister - The owner of the association.
        path - The path to the association
        propertyNumber - The property number representing the association.
        associationType - The association type.
        metadataFetchMode - The metadata-defined fetch mode.
        metadataCascadeStyle - The metadata-defined cascade style.
        lhsTable - The owner table
        lhsColumns - The owner join columns
        nullable - Is the association nullable.
        currentDepth - Current join depth
        type of join to use (JoinType.INNER_JOIN, JoinType.LEFT_OUTER_JOIN, or -1 to indicate no joining.
        MappingException - ??
      • toString

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