Grails
  1. Grails
  2. GRAILS-3396 Top level task: GORM Improvements
  3. GRAILS-2852

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

    Details

    • Type: Sub-task Sub-task
    • Status: 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

          • Assignee:
            Graeme Rocher
            Reporter:
            Marc Palmer
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development