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. TestUpdateRow.java
        2 kB
        Mayuresh Nirhali
      2. derby-1201-2.diff
        2 kB
        Suran Jayathilaka
      3. derby-1201.diff
        2 kB
        Suran Jayathilaka

        Activity

        David Van Couvering created issue -
        David Van Couvering made changes -
        Field Original Value New Value
        Component/s Newcomer [ 12310640 ]
        Mayuresh Nirhali made changes -
        Attachment TestUpdateRow.java [ 12359266 ]
        Suran Jayathilaka made changes -
        Assignee Suran Jayathilaka [ suranjay ]
        Suran Jayathilaka made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Suran Jayathilaka made changes -
        Attachment derby-1201.diff [ 12380574 ]
        Kathey Marsden made changes -
        Derby Info [Patch Available]
        Suran Jayathilaka made changes -
        Attachment derby-1201-2.diff [ 12380773 ]
        Kathey Marsden made changes -
        Resolution Invalid [ 6 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Dag H. Wanvik made changes -
        Component/s Newcomer [ 12310640 ]
        Gavin made changes -
        Workflow jira [ 12355006 ] Default workflow, editable Closed status [ 12801394 ]

          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