Interface Joinable

    • Method Detail

      • getName

        String getName()
        An identifying name; a class name or collection role name.
      • getTableName

        String getTableName()
        The table to join to.
      • selectFragment

        String selectFragment​(Joinable rhs,
                              String rhsAlias,
                              String lhsAlias,
                              String currentEntitySuffix,
                              String currentCollectionSuffix,
                              boolean includeCollectionColumns)
        All columns to select, when loading.
      • whereJoinFragment

        String whereJoinFragment​(String alias,
                                 boolean innerJoin,
                                 boolean includeSubclasses)
        Get the where clause part of any joins (optional operation)
      • whereJoinFragment

        String whereJoinFragment​(String alias,
                                 boolean innerJoin,
                                 boolean includeSubclasses,
                                 Set<String> treatAsDeclarations)
        Get the where clause part of any joins (optional operation)
      • fromJoinFragment

        String fromJoinFragment​(String alias,
                                boolean innerJoin,
                                boolean includeSubclasses)
        Get the from clause part of any joins (optional operation)
      • fromJoinFragment

        String fromJoinFragment​(String alias,
                                boolean innerJoin,
                                boolean includeSubclasses,
                                Set<String> treatAsDeclarations)
        Get the from clause part of any joins (optional operation)
      • fromJoinFragment

        default String fromJoinFragment​(String alias,
                                        boolean innerJoin,
                                        boolean includeSubclasses,
                                        Set<String> treatAsDeclarations,
                                        Set<String> referencedTables)
        Get the from clause part of any joins (optional operation)
      • getKeyColumnNames

        String[] getKeyColumnNames()
        The columns to join on
      • oneToManyFilterFragment

        String oneToManyFilterFragment​(String alias,
                                       Set<String> treatAsDeclarations)
      • isCollection

        boolean isCollection()
        Is this instance actually a CollectionPersister?
      • consumesEntityAlias

        boolean consumesEntityAlias()
        Very, very, very ugly...
        Returns:
        Does this persister "consume" entity column aliases in the result set?
      • consumesCollectionAlias

        boolean consumesCollectionAlias()
        Very, very, very ugly...
        Returns:
        Does this persister "consume" collection column aliases in the result set?