Null values with the JDBC driver
Null values with the JDBC driver
От:
Martin Zeigler <mzeigler@home.com>
Дата:
When you call "getObject()" with the JDBC driver on a ResultSet for an Integer field and the value stored in the database is null, shouldn't the driver also return a null instead of Integer(0) ? If I had called "getInt()" on it I would expect that kind of behavior. But when I called getObject, I expected null values. Is this the correct behavior? Martin Zeigler