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

Sebastian Mancke updated DBCP-217:
----------------------------------

    Attachment: connectionCloseFix.patch


This patch sets the wrapper (instance of PoolGuardConnectionWrapper)
as the connection of every created statement.

> Closing of underlaying connection instead of the PoolGuardConnectionWrapper
> ---------------------------------------------------------------------------
>
>                 Key: DBCP-217
>                 URL: https://issues.apache.org/jira/browse/DBCP-217
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>            Reporter: Sebastian Mancke
>         Attachments: connectionCloseFix.patch
>
>
> Is state:
> If I obtain the Connection of a Statement (stmt.getConnection()), created 
> with dbcp,
> the returned Object is the underlaying pooled connection. 
> Closing this connection multiple times may close the connection of another 
> process.
> It should be:
> The Wrapper over the connection PoolGuardConnectionWrapper should be returned 
> instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to