Why does the JDBC specification recommend using getDouble() for SQL FLOAT types?

Joe Sam Shirah

For the full answer, see the JDBC(tm) Technology Guide: Getting Started, Section 8.3.10: FLOAT. Briefly, "in practice all the major databases supporting FLOAT support a mantissa precision of at least 15 digits." That is, the equivalent of a Java double.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.