Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
10.8.2.2
-
None
-
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
- is related to
-
DERBY-5533 Client differs from embedded when rs.updateInt overflows: 22015 vs 22003
- Closed
-
DERBY-5546 ResultSet#updateBigDecimal on a REAL column does not do underflow checking
- Closed
-
DERBY-3290 Derby cannot store java Double or Float values .NaN and .[POSITIVE|NEGATIVE]_INFINITY
- Open
-
DERBY-3398 Support min/max values for Java types float/double in real/double columns
- Closed