Class HqlInserter

    • Constructor Detail

      • HqlInserter

        public HqlInserter()
    • Method Detail

      • insertHql

        public abstract String insertHql​(Map<String,​String> requestParameters,
                                         Map<String,​Object> queryNamedParameters)
        Returns some code to be inserted in a HQL query, and adds query named parameters when needed
        requestParameters - the parameters of the request. The inserted code may vary depending on these parameters
        queryNamedParameters - the named parameters of the hql query that will be used to fetch the table data. If the inserted code uses named parameters, the named parameters must be added to this map
        the hql code to be inserted