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

camel-sql - Should close ResultSet

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment