Interface HqlTranslator

    • Method Detail

      • translate

        <R> SqmStatement<R> translate​(String hql,
                                      Class<R> expectedResultType)
        Performs the interpretation of a HQL/JPQL query string to SQM.
        Parameters:
        hql - The HQL/JPQL query string to interpret
        expectedResultType - The type specified when creating the query
        Returns:
        The semantic representation of the incoming query.
      • close

        default void close()
        Give the translator a chance to "shut down" if it needs to