Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2301

Documentation of different executeBatch error handling between embedded and DerbyNetClient needed

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.3.1.4
    • Component/s: Documentation
    • Labels:
      None

      Description

      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.

        Attachments

        1. DERBY-2301.diff
          1 kB
          Myrna van Lunteren

          Issue Links

            Activity

              People

              • Assignee:
                myrna Myrna van Lunteren
                Reporter:
                myrna Myrna van Lunteren
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: