Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 130705 Details for
Bug 270969
[DB] Checking of return result of batched statements is not standards conform
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch
clipboard.txt (text/plain), 1.25 KB, created by
Stefan Winkler
on 2009-04-02 11:11:06 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Stefan Winkler
Created:
2009-04-02 11:11:06 EDT
Size:
1.25 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.emf.cdo.server.db >Index: src/org/eclipse/emf/cdo/server/internal/db/jdbc/PreparedStatementJDBCDelegate.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.emf/org.eclipse.emf.cdo/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/jdbc/PreparedStatementJDBCDelegate.java,v >retrieving revision 1.14 >diff -u -r1.14 PreparedStatementJDBCDelegate.java >--- src/org/eclipse/emf/cdo/server/internal/db/jdbc/PreparedStatementJDBCDelegate.java 15 Mar 2009 10:59:06 -0000 1.14 >+++ src/org/eclipse/emf/cdo/server/internal/db/jdbc/PreparedStatementJDBCDelegate.java 2 Apr 2009 15:08:42 -0000 >@@ -234,11 +234,7 @@ > > for (int result : results) > { >- if (entry.getKey().getElement1() != StmtType.DELETE_REFERENCES >- && entry.getKey().getElement1() != StmtType.UPDATE_REFERENCE_VERSION) >- { >- checkState(result == 1, "Batch execution did not return '1' for " + entry.getKey().toString()); >- } >+ checkState(result != Statement.EXECUTE_FAILED, "Batch execution returned EXECUTE_FAILED!"); > } > } > catch (SQLException ex)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270969
: 130705