Error handling using batch-writing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error handling using batch-writing

Lars-Fredrik Smedberg
Hi!

We are using Eclipselink with WLP and batch-writing configured to JDBC in our persistence.xml

The driver used (for DB2) has "atomic multirow insert" set to NO by default....

Question: How does Eclipselink handle/examine the int[] returned by executeBatch? How does it inerprete EXECUTE_FAILED and SUCCESS_NO_INFO ? 

Any pointers to source code and/or documentation is preciated.

Best regards
Lars-Fredrik Smedberg

--
Med vänlig hälsning / Best regards

Lars-Fredrik Smedberg

STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended recipient, please notify Lars-Fredrik Smedberg
immediately at [hidden email], and destroy all copies of this
message and any attachments.

_______________________________________________
eclipselink-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-users