Received: from thor.candleweb.no (thor.candleweb.no [195.139.160.194]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA22332 for ; Tue, 23 May 2000 10:04:40 -0400 (EDT) (envelope-from gunnar@candleweb.no) Received: (from gunnar@localhost) by thor.candleweb.no (8.10.0/8.10.0/on4) id ; Tue, 23 May 2000 15:48:17 +0200 (MET DST) To: pgsql-interfaces@postgresql.org Subject: JDBC 7.0 - ResultSet.getObject() bug Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Gunnar R|nning Date: 23 May 2000 15:48:16 +0200 Message-ID: Lines: 16 X-Mailer: Gnus v5.4.65/Emacs 19.34 X-Archive-Number: 200005/36 Hello, I just discovered what I think must be regarded as bug in the JDBC driver shipped with the 7.0 release. The JDBC spec states that ResultSet.getObject() should return "null" if the there is an SQL NULL value in the column. The JDBC driver for postgres does however in this case return an object, eg. in the case of an int value it returns an Integer object with the value of "0".