Thread: Null values with the JDBC driver

Null values with the JDBC driver

From
Martin Zeigler
Date:
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