Hello Benoit,
 
I concur with you that this is a bug. I 've put it on my list.
 
Thanks for reporting this issue.
 
Alexander Schr�der
SAP Labs Berlin
 
 -----Original Message-----
From: Benoit Menendez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 12:41 AM
To: [EMAIL PROTECTED]
Subject: Minor bug with JDBC driver

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