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

ResultSet.updateRow() in network client should not throw an exception if no fields in the row have been modified.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6
    • None
    • Network Client
    • None
    • Patch Available

    Description

      ResultSet.updateRow() in the network client throws an exception if no fields in the current row have been modified. In the embedded client, the method silently does nothing in the same circumstances. Although the spec is yet to go final, our understanding is that JDBC 4 spec indicates that the behavior of the embedded client is correct, so we should correct this in the network client.

      Attachments

        1. TestUpdateRow.java
          2 kB
          Mayuresh Nirhali
        2. derby-1201.diff
          2 kB
          Suran Jayathilaka
        3. derby-1201-2.diff
          2 kB
          Suran Jayathilaka

        Activity

          People

            suranjay Suran Jayathilaka
            davidvc David Van Couvering
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: