Grails

properly document projections usage as there are differences to the documented Hibernate API

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.1-beta1
  • Component/s: Documentation
  • Labels:
    None

Description

For example in the hib API 'distinct' takes a Projection as a parameter, not a string, but to use it in criteria builder you have to pass in the name of a property.

Relying on hib api docs like this is bad for the above reason

Activity

Hide
Graeme Rocher added a comment -

Documented in the createCriteria method in the reference guide

Show
Graeme Rocher added a comment - Documented in the createCriteria method in the reference guide

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: