View source | View content page | Page history | Printable version   

Projects:HQL Based Tables/Technical Specifications

Application Dictionary

New Generic Datasource for HQL Tables

Customizing the HQL Query

There will be two ways of modifying the HQL query defined at table level:

String getQuery(String query, Object context)
String getAdditionFilters(Object context)

These two methods will be retrieved using Dependency Injection. There can be several injections per table, but only one of them will be used, based on its priority. A method similar to this will be provided to establish the priority:

int getPriority(Object context)

Retrieved from ""

This page has been accessed 1,011 times. This page was last modified on 31 March 2014, at 13:10. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.