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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • JDBC
    • None
    • 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.diff
          0.8 kB
          David Van Couvering
        2. DERBY-1438-rev2.diff
          1.01 MB
          David Van Couvering

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: