Received: from mail.rdc1.tn.home.com (ha1.rdc1.tn.home.com [24.2.7.66]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB3ERSF08797 for ; Sun, 3 Dec 2000 09:27:28 -0500 (EST) (envelope-from mzeigler@home.com) Received: from maverick.zigsoft.com ([24.9.209.67]) by mail.rdc1.tn.home.com (InterMail vM.4.01.02.00 201-229-116) with SMTP id <20001203142728.NCZR13852.mail.rdc1.tn.home.com@maverick.zigsoft.com> for ; Sun, 3 Dec 2000 06:27:28 -0800 From: Martin Zeigler To: pgsql-interfaces@postgresql.org Subject: Null values with the JDBC driver Date: Sun, 3 Dec 2000 09:21:32 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00120309253400.02112@maverick.zigsoft.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200012/15 X-Sequence-Number: 352 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