Interface RelationQueryGenerator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.hibernate.query.Query getQuery​(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object primaryKey, Number revision, boolean removed)
      Return the query to fetch the relation.
    • Method Detail

      • getQuery

        org.hibernate.query.Query getQuery​(org.hibernate.engine.spi.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.