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

Text written by SQLException.toString differs between client and embedded driver

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.2.1.6
    • Component/s: JDBC
    • Labels:
      None
    • Environment:
      Sun JDK 1.5

      Description

      The first part of the string written by SQLExeption.toString() differs
      between the Derby client driver and the embedded driver. The embedded
      driver writes:

      SQL Exception: Table/View 'DERBYDB' does not exist.

      while the client driver writes:

      java.sql.SQLException: Table/View 'DERBYDB' does not exist.

      It would be good if we changed this so the same text is written by
      both drivers. This reduces the difference seen when changing between
      client and embedded Derby and it make it possible to reduce the amount
      of sed-ing or the number of master file variants for some tests.

        Attachments

        1. DERBY-1438-rev2.diff
          1.01 MB
          David Van Couvering
        2. DERBY-1438.diff
          0.8 kB
          David Van Couvering

          Activity

            People

            • Assignee:
              davidvc David Van Couvering
              Reporter:
              olav Olav Sandstaa
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: