HQL priorities, underscore and list parameters
I have improved the priorities in HQL syntax to more closely resemble that of Hibernate. This will reduce the number of parentheses that are required when writing HQL queries. It is also no longer required to add a leading underscore when using properties without an alias and should now be added automatically when not present.
If an expression in an HQL statement is a list (for example: from User u where u in (~myuserlist) ), WebDSL will now set it correctly using setParameterList instead of setParameter.
I have also added the operators <= (smaller than or equal), >= (greater than or equal) and % (modulo).
Submitted by Christoffer Gersen on 8 April 2011 at 15:26
Issue Log
On 8 April 2011 at 15:26 Christoffer Gersen tagged 1.2.8
On 8 April 2011 at 15:26 Christoffer Gersen closed this issue.
Log in to post comments