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

Embedded doesn't clear warnings on ResultSet when moving to next row

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.8.2.2
    • Fix Version/s: None
    • Component/s: JDBC
    • Urgency:
      Normal
    • Issue & fix info:
      Repro attached
    • Bug behavior facts:
      Deviation from standard, Embedded/Client difference

      Description

      The javadoc for java.sql.ResultSet.getWarnings() says that the warning chain should be cleared automatically when a new row is read. The client driver does that, but the embedded driver does not.

        Attachments

        1. ClearWarnings.java
          0.7 kB
          Knut Anders Hatlen
        2. DERBY-5765-demo.zip
          3 kB
          Torkjel Hongve

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: