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.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6
    • Fix Version/s: None
    • Component/s: Network Client
    • Labels:
      None
    • Issue & fix info:
      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.

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

        Activity

          People

          • Assignee:
            Suran Jayathilaka
            Reporter:
            David Van Couvering
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development