Class StandardHqlTranslator

    • Field Detail

      • ERR_LISTENER

        protected static final org.antlr.v4.runtime.ANTLRErrorListener ERR_LISTENER
    • Method Detail

      • translate

        public <R> SqmStatement<R> translate​(String query,
                                             Class<R> expectedResultType)
        Description copied from interface: HqlTranslator
        Performs the interpretation of a HQL/JPQL query string to SQM.
        Specified by:
        translate in interface HqlTranslator
        Parameters:
        query - The HQL/JPQL query string to interpret
        expectedResultType - The type specified when creating the query
        Returns:
        The semantic representation of the incoming query.