Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
10.4.1.3
-
Normal
-
Release Note Needed
Description
Derby doesn't support the entire range of valid (finite) values of the Java primitive types double/float in columns with SQL type DOUBLE or REAL. This appears to be a limitation that was introduced for compatibility with DB2. There have been some requests on derby-user that we lift this restriction.
The restriction is enforced by the methods normalizeREAL() and normalizeDOUBLE() in org.apache.derby.iapi.types.NumberDataType.
Attachments
Attachments
Issue Links
- is related to
-
DERBY-6083 Update minimum/maximum floating-point values to align with DERBY-3398 fixes
- Closed
- relates to
-
DERBY-5534 ResultSet#updateFloat, #updateDouble do not check for NaN and other conditions on client
- Open
-
DERBY-3290 Derby cannot store java Double or Float values .NaN and .[POSITIVE|NEGATIVE]_INFINITY
- Open