Affects Version/s: 10.4.1.3
Fix Version/s: None
Bug behavior facts:Embedded/Client difference
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.
|Derby Categories||[Embedded/Client difference]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Duplicate [ 3 ]|
|Workflow||jira [ 12423988 ]||Default workflow, editable Closed status [ 12797981 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|910d 3h 38m||1||Knut Anders Hatlen||18/Aug/10 14:30|