Grails
  1. Grails
  2. GRAILS-6236

Docs do not describe use of "fetch" argument to queries and dynamic finders, only mention it is possible

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3 RC2
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      I search and searched, and ended up going in circles with the links provided in the docs.

      fetchMode is mentioned in the context of ORM mappings etc, but no info about the "fetch" arg to finders and criteria

        Activity

        Hide
        Michael Frankfurter added a comment -

        In section 5.4.2 Criteria paragraph Querying with Eager Fetching use of fetchMode is described but is not in the reference part of createCriteria. Would suggest to add it there. Will start working on that.

        Show
        Michael Frankfurter added a comment - In section 5.4.2 Criteria paragraph Querying with Eager Fetching use of fetchMode is described but is not in the reference part of createCriteria. Would suggest to add it there. Will start working on that.
        Hide
        Michael Frankfurter added a comment -

        The "fetch" argument is described in that very good article http://blog.springsource.com/2010/07/28/gorm-gotchas-part-3/ by Peter Ledbrook and he commented that he "would like to see the content in the user guide.".

        @Peter: Will you find the time to do this in this hot phase of Grails 2.0 or may I do this?

        Show
        Michael Frankfurter added a comment - The "fetch" argument is described in that very good article http://blog.springsource.com/2010/07/28/gorm-gotchas-part-3/ by Peter Ledbrook and he commented that he "would like to see the content in the user guide.". @Peter: Will you find the time to do this in this hot phase of Grails 2.0 or may I do this?

          People

          • Assignee:
            Peter Ledbrook
            Reporter:
            Marc Palmer
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development