| Summary: | [DB] Checking of return result of batched statements is not standards conform | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Stefan Winkler <stefan> | ||||
| Component: | cdo.db | Assignee: | Stefan Winkler <stefan> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | stepper | ||||
| Version: | 2.0 | ||||||
| Target Milestone: | M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 270428 | ||||||
| Attachments: |
|
||||||
|
Description
Stefan Winkler
Created attachment 130705 [details] Patch oh well, this was easier than I thought. The statements which are batched here are only of two kinds - INSERT_ATTRIBUTE and UPDATE_REFERENCE_VERSION. Both should not be checked for the update count. So I changed the condition to result != Statement.EXECUTION_FAILED. This issue should be revisited after Bug 260047 is implemented. Committed to HEAD. Fix available in EMF CDO 2.0.0M6b Generally available. |