You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jens Kleemann (JIRA)" <ji...@apache.org> on 2014/09/05 09:01:22 UTC
[jira] [Commented] (KARAF-2959) JDBC commands don't properly close
connection
[ https://issues.apache.org/jira/browse/KARAF-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122526#comment-14122526 ]
Jens Kleemann commented on KARAF-2959:
--------------------------------------
jdbc commands (query/execute) should only operate on Connections with AUTOCOMMIT.
For everythings else a jdbc:execute-script (which could be wrapped inside a transaction) would be more appropriate. Using XA connections from the console might be dangerous - better to have a second non-XA datasource definition registered. Thats the way we handle db-connnections
> JDBC commands don't properly close connection
> ---------------------------------------------
>
> Key: KARAF-2959
> URL: https://issues.apache.org/jira/browse/KARAF-2959
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 3.0.1
> Reporter: Justin Cozzens
> Assignee: Jean-Baptiste Onofré
> Fix For: 4.0.0, 3.0.2
>
>
> Running the JDBC commands leaks connections, the connections are never closed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)