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

Add batch:10 mapping for class and association for batching fetching

    Details

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

      Activity

      Hide
      Graeme Rocher added a comment -

      batch size configuration can now be done at the class level:

      static mapping = {
          batchSize 10
      }
      

      or per association

      static mapping = {
          books batchSize:10
      }
      
      Show
      Graeme Rocher added a comment - batch size configuration can now be done at the class level: static mapping = { batchSize 10 } or per association static mapping = { books batchSize:10 }

        People

        • Assignee:
          Graeme Rocher
          Reporter:
          Graeme Rocher
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development