groovy
  1. groovy
  2. GROOVY-3434

releaseResources should not close connection when within cacheConnect()

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.2, 1.7-beta-1
    • Component/s: SQL processing
    • Labels:
      None
    • Number of attachments :
      1

      Description

      When using a datasource, the connection is being closed (within execute()) even when cacheConnection is true.

        Activity

        Hide
        Guillaume Laforge added a comment -

        Patch welcome, I know you know how to fix it

        Show
        Guillaume Laforge added a comment - Patch welcome, I know you know how to fix it
        Hide
        Robert Fuller added a comment -

        Attached patch resolves this problem.

        Show
        Robert Fuller added a comment - Attached patch resolves this problem.
        Hide
        Paul King added a comment -

        Applied to trunk, tests pending

        Show
        Paul King added a comment - Applied to trunk, tests pending
        Hide
        Paul King added a comment -

        tests added to trunk, pending push to 1_6_X

        Show
        Paul King added a comment - tests added to trunk, pending push to 1_6_X
        Hide
        Paul King added a comment -

        merged

        Show
        Paul King added a comment - merged

          People

          • Assignee:
            Paul King
            Reporter:
            Robert Fuller
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: