[jira] Commented: (DBCP-233) Allow connection, statement, and result set to be closed multiple times

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DBCP-233) Allow connection, statement, and result set to be closed multiple times

wulf2333 (Jira)

    [ https://issues.apache.org/jira/browse/DBCP-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644887#action_12644887 ]

Bob Bueckers commented on DBCP-233:
-----------------------------------

I'm currently using dbcp 1.2.1 but have no problem updating to a newer release. What do I need to do to get the patch for this issue if I update to the 1.2.2 release? This is a very hot, and time sensitive issue for our project!

Thanks in advance!

Bob

> Allow connection, statement, and result set to be closed multiple times
> -----------------------------------------------------------------------
>
>                 Key: DBCP-233
>                 URL: https://issues.apache.org/jira/browse/DBCP-233
>             Project: Commons Dbcp
>          Issue Type: Improvement
>            Reporter: Dain Sundstrom
>             Fix For: 1.3
>
>         Attachments: CloseTwice.patch
>
>
> This patch allows Connection, Statement, PreparedStatement, CallableStatement and ResultSet to be closed multiple times.  The first time close is called the resource is closed and any subsequent calls have no effect.  This behavior is required as per the JavaDocs for these classes.  The patch adds tests for closing all types multiple times and updates any tests that incorrectly assert that a resource can be closed more then once.
> This patch fixes DBCP-134 and DBCP-3

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