1. Grails criteria, how to scape property stackoverflow.comDomain involved:
The criteria function inside domain class:
|
2. HQL : max/limit result based on property value stackoverflow.comI have a domain, AccountTransaction
I would like to get the maximum last 3 transactions of each account.
Output expected:
|