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

ResultSet#updateFloat, #updateDouble do not check for NaN and other conditions on client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.8.2.2
    • None
    • JDBC, Network Client
    • Normal
    • Newcomer, Repro attached
    • Embedded/Client difference

    Description

      In updateXXX, where XXX is one of Float or Double, embedded throws value out of range when the argument is Float.NaN or Double.NaN, the client does not catch it.

      The server will balk when the row is updated, though, in ResultSet#updateRow. It will be more regular if this is caught in updateXXX also on the client as other range errors are. The SQL state seen is 22003, which is what embedded throws on updateXXX. See also DERBY-5533.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dagw Dag H. Wanvik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: