title: Grails createCriteria group by (groupProperty function) multiple attributes
body: <p>I'm wondering if grails createCriteria supports group by multiple attributes like pure sql does. I'd like to list entries like this:</p>
  
  <pre><code>def criteria = DomainClass.createCriteria()
  def results = criteria.list {
      groupProperty('parameterA')
      groupProperty('parameterB')
  }
  </code></pre>
  
  <p>This will list just entries with unique parameterA and parameterB combination. The problem is that this doesn't work, is there any solution or should I use hsql or something simmilar?</p>
  
  <p>Thanks,
  Mateo</p>