You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Dain Sundstrom (JIRA)" <ji...@apache.org> on 2007/07/17 06:19:04 UTC
[jira] Created: (DBCP-233) Allow connection, statement, and result
set to be closed multiple times
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Resolved: (DBCP-233) Allow connection, statement, and result
set to be closed multiple times
Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DBCP-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz resolved DBCP-233.
------------------------------
Resolution: Fixed
Patch applied. Many thanks.
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (DBCP-233) Allow connection, statement, and result
set to be closed multiple times
Posted by "Dain Sundstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DBCP-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dain Sundstrom updated DBCP-233:
--------------------------------
Attachment: CloseTwice.patch
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org