commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hauke Rabe (JIRA)" <>
Subject [jira] Commented: (DBCP-264) clear batch when closing statement
Date Tue, 01 Apr 2008 08:32:24 GMT


Hauke Rabe commented on DBCP-264:

Add to org.apache.commons.dbcp.DelegatingStatement#close()  method call clearBatch()

> clear batch when closing statement
> ----------------------------------
>                 Key: DBCP-264
>                 URL:
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>            Reporter: Hauke Rabe
> If a statement contains batch statements, these statements should be cleared on close.

> Szenario:
> A pooled statement contains already some batch statements before an error occured. This
error will be handled and finally the statement will be closed. Cause, it is a pooled statement
the batch statements will be remaining in the pooled statement. On the next request the pooled
statement will execute the batch statements from the first request.

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

View raw message