Issue Details (XML | Word | Printable)

Key: DERBY-2301
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Myrna van Lunteren
Reporter: Myrna van Lunteren
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Documentation of different executeBatch error handling between embedded and DerbyNetClient needed

Created: 07/Feb/07 06:49 AM   Updated: 20/Mar/07 09:07 PM
Return to search
Component/s: Documentation
Affects Version/s: 10.3.1.4
Fix Version/s: 10.3.1.4

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works DERBY-2301.diff 2007-02-10 04:09 PM Myrna van Lunteren 1 kB
Issue Links:
Reference
 

Resolution Date: 10/Feb/07 04:11 PM


 Description  « Hide
There is a difference between embedded and networkserver/DerbyNetClient in how error situations when using java.sql.Statement.executeBatch() and related batch methods are handled.
Embedded 'stops' processing on error, the Client continues. The second mechanism was added as ok behavior with JDBC3.0, I believe, and both are acceptable approaches.

However, it could be disconcerting to an unsuspecting user, seeing as both drivers come from the 'same' codeline, and it should be listed under the differences in the Server and Admin Guide.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Myrna van Lunteren made changes - 07/Feb/07 05:28 PM
Field Original Value New Value
Description There is a difference in batchExecute() behavior on error between embedded and DerbyNetClient.
Embedded 'stops' processing on error, the Client continues. The second mechanism was added as ok behavior with JDBC3.0, I believe, and both are acceptable approaches.

However, it could be disconcerting to an unsuspecting user, seeing as both drivers come from the 'same' codeline, and it should be listed under the differences in the Server and Admin Guide.
There is a difference between embedded and networkserver/DerbyNetClient in how error situations when using java.sql.Statement.executeBatch() and related batch methods are handled.
Embedded 'stops' processing on error, the Client continues. The second mechanism was added as ok behavior with JDBC3.0, I believe, and both are acceptable approaches.

However, it could be disconcerting to an unsuspecting user, seeing as both drivers come from the 'same' codeline, and it should be listed under the differences in the Server and Admin Guide.
Summary Documentation of different batchExecute behavior between embedded and DerbyNetClient needed Documentation of different executeBatch error handling between embedded and DerbyNetClient needed
Myrna van Lunteren made changes - 10/Feb/07 04:07 PM
Assignee Myrna van Lunteren [ myrna ]
Myrna van Lunteren made changes - 10/Feb/07 04:09 PM
Attachment DERBY-2301.diff [ 12350831 ]
Myrna van Lunteren made changes - 10/Feb/07 04:11 PM
Fix Version/s 10.3.0.0 [ 12310800 ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Jean T. Anderson made changes - 02/Mar/07 01:00 AM
Link This issue relates to DERBY-310 [ DERBY-310 ]
Myrna van Lunteren made changes - 20/Mar/07 09:07 PM
Status Resolved [ 5 ] Closed [ 6 ]