Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351276 - [DB] Improve Statement.executeBatch result checking
Summary: [DB] Improve Statement.executeBatch result checking
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.db (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 04:18 EDT by Eike Stepper CLA
Modified: 2012-09-21 06:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2011-07-06 04:18:40 EDT
Cloned from: 344231: [DB] Improve Statement.executeBatch result checking
https://bugs.eclipse.org/bugs/show_bug.cgi?id=344231

Some JDBC drivers (such as Oracle) do not always return the count of updated/inserted rows when using a batch execution. Though, they succeed and just return Statement.SUCCESS_NO_INFO instead of the count of updates/inserts.
Comment 1 Eike Stepper CLA 2011-07-06 04:23:22 EDT
Committed revision 8614:
- branches/4.0-maintenance/plugins/org.eclipse.emf.cdo.server.db
Comment 2 Eike Stepper CLA 2011-07-06 04:23:37 EDT
Resolved
Comment 3 Eike Stepper CLA 2012-09-21 06:50:08 EDT
Closing.