You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/04/29 13:14:05 UTC

[jira] [Resolved] (CAMEL-8715) camel-sql - Should close ResultSet

     [ https://issues.apache.org/jira/browse/CAMEL-8715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-8715.
--------------------------------
    Resolution: Fixed

> camel-sql - Should close ResultSet
> ----------------------------------
>
>                 Key: CAMEL-8715
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8715
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-sql
>    Affects Versions: 2.15.1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.14.3, 2.16.0, 2.15.3
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)