Interface RelationQueryGenerator

    • Method Detail

      • getQuery

        Query getQuery​(SharedSessionContractImplementor session,
                       Object primaryKey,
                       Number revision,
                       boolean removed)
        Return the query to fetch the relation.
        Parameters:
        session - The session.
        primaryKey - The primary key of the owning object.
        revision - The revision to be fetched.
        removed - Whether to return a query that includes the removed audit rows.