You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2009/05/07 15:34:30 UTC

[jira] Updated: (DERBY-3436) Embedded closes all open ResultSets on failure in auto-commit mode, whereas client keeps them open

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

Kathey Marsden updated DERBY-3436:
----------------------------------

    Derby Categories: [Embedded/Client difference]

> Embedded closes all open ResultSets on failure in auto-commit mode, whereas client keeps them open
> --------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3436
>                 URL: https://issues.apache.org/jira/browse/DERBY-3436
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.4.1.3
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>
> When an error happens in auto-commit mode, the embedded driver will close all open ResultSets (including holdable ones) in that transaction. The client driver will keep the ResultSets open. The embedded driver and the client driver should have the same behaviour.
> The test case testAutoCommitFailure() in jdbc4/TestDbMetaData contains code that shows the difference between client and embedded.
> DatabaseMetaData.autoCommitFailureClosesAllResultSets() currently returns true on the embedded driver (after DERBY-3422) and false on the client driver to account for this difference.

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