SendFloatParametersAsString
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Determines whether FLOAT, BINARY_FLOAT, and BINARY_DOUBLE parameters are sent to the database server as a string or as a floating point number.
Valid Values
true | false
Behavior
If set to true, the driver sends FLOAT, BINARY_FLOAT, and BINARY_DOUBLE
parameters to the database server as string values.
If set to false, the driver sends FLOAT, BINARY_FLOAT, and BINARY_DOUBLE
parameters to the database server as floating point numbers. When Oracle overloaded stored
procedures are used, this value ensures that the database server can determine the correct
stored procedure to call based on the parameter’s data type.
Notes
- Numbers larger than 1.0E127 or smaller than 1.0E-130 cannot be converted to Oracle’s
number format for Oracle8i and Oracle9i databases using floating point
numbers. When a number larger than 1.0E127 or smaller than 1.0E-130 is encountered, the
driver throws an exception. If your application uses numbers in this range against an
Oracle8i or Oracle9i database, set this property to
true.
Default
false
Data Type
boolean