Grails

Grails criteria query : ‘createAlias’ made it easy

Hello friends, In my grails project, I was finding it difficult to write a query using criteria which can be read as 'list all customers whose current account balance is more than minimum account balance of that customer'. The simplified form of the domain is given below : [java] class Customer { String name Account account ...

by Amit Jain
Tag: compare between two domains
17-Jan-2011