| 1. |
What Type Of Object Is Returned By Resultset.getobject()? |
|
Answer» WebLogic jDriver for Oracle always returns a Java object that PRESERVES the precision of the data retrieved. WebLogic jDriver for Oracle returns the following from the GETOBJECT() METHOD:
For example, 1.0000 will be an integer. A long is returned for a value such as 123456789123.00000. If a value has a non-zero fractional component, a Double is returned if the precision of the value can be represented by a Double; otherwise a BigDecimal is returned. WebLogic jDriver for Oracle always returns a Java object that preserves the precision of the data retrieved. WebLogic jDriver for Oracle returns the following from the getObject() method: For example, 1.0000 will be an integer. A long is returned for a value such as 123456789123.00000. If a value has a non-zero fractional component, a Double is returned if the precision of the value can be represented by a Double; otherwise a BigDecimal is returned. |
|