Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8715

camel-sql - Should close ResultSet

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.15.1
    • Fix Version/s: 2.14.3, 2.15.3, 2.16.0
    • Component/s: camel-sql
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      See SO
      http://stackoverflow.com/questions/29933629/apache-camel-sql-component-is-not-closing-resultset

      The Spring javadocs says

      • <p><b>NOTE:</b> Any ResultSets opened should be closed in finally blocks
      • within the callback implementation. Spring will close the Statement
      • object after the callback returned, but this does not necessarily imply
      • that the ResultSet resources will be closed: the Statement objects might
      • get pooled by the connection pool, with {@code close}

        calls only

      • returning the object to the pool but not physically closing the resources.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: