Code Snippets, Ideas and Rants from a Tech Lead interested primarily in server side web development and leading teams who build web apps.
def criteria = DomainObj.createCriteria() def date = new Date() def list = criteria { and { gt('endDate', date) lt('beginDate', date) } projections { distinct('term') } }
No comments:
Post a Comment