Class HqlQueryTransformer

    • Constructor Detail

      • HqlQueryTransformer

        public HqlQueryTransformer()
    • Method Detail

      • transformHqlQuery

        public abstract String transformHqlQuery​(String hqlQuery,
                                                 Map<String,​String> requestParameters,
                                                 Map<String,​Object> queryNamedParameters)
        Returns the transformed hql query
        hqlQuery - original hql query
        requestParameters - the parameters of the request
        queryNamedParameters - the named parameters of the hql query that will be used to fetch the table data. If the transformed hql query uses named parameters that did not exist in the original hql query, the named parameters must be added to this map
        the transformed hql query