Grails
  1. Grails
  2. GRAILS-8862

timeout parameter ignored for executeQuery

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1-RC1
    • Component/s: Persistence
    • Labels:

      Description

      File grails-hibernate/src/main/groovy/org/codehaus/groovy/grails/orm/hibernate/metaclass/ExecuteQueryPersistentMethod.java line 101 incorrectly sets the timeout parameter to the underlying Hibernate Query's fetchSize option. This effectively ignores the query timeout parameter of a given Hibernate query.

        Activity

        Hide
        Burt Beckwith added a comment -
        Show
        Burt Beckwith added a comment - I noticed this recently - fixed here: https://github.com/grails/grails-core/commit/f18923d4bafea261a41e51aced694bf1802c69d8

          People

          • Assignee:
            Burt Beckwith
            Reporter:
            Scott Balmos
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development