I have a table with a nullable float field... I do a select * from table where...
 
If I call rs.getObject(index of the float field), I get back a 0 and not null when the field is null in the database... Note that this happens with Float fields only. Integer fields work ok.
 
Workaround:
 
...
 
object = rs.getObject(index);
 
if (rs.wasNull()) object = null;
 
...
 
    Benoit

Reply via email to