dcsimg

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.