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

camel-sql - Should close ResultSet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.15.1
    • 2.14.3, 2.15.3, 2.16.0
    • camel-sql
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: