From: Martin Zeigler <mzeigler@home.com>
To: pgsql-interfaces@postgresql.org
Subject: Fwd: errors with getObject() with JDBC driver
Date: Tue, 28 Nov 2000 21:11:34 -0500
Message-ID: <00112821123701.22854@maverick.zigsoft.com> (raw)
I am using version 7.0.2 of postgres on Redhat Linux 6.1. I am also using
Sun's Java 1.3 JVM, using the java2 JDBC driver from postgres. I have a table
containing several fields of "integer". I have one row in the table where
these integer are null. When I retrieve this row's values with my driver by
calling "getObject()" on the resultSet, it returns an Integer object containing
0. The value is not 0, it should be null. I verified the fields are null in
the database by issuing a query by hand.
Am I doing something wrong, or is this a bug with the driver?
Thanks,
Martin Zeigler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: mzeigler@home.com
Subject: Re: Fwd: errors with getObject() with JDBC driver
In-Reply-To: <00112821123701.22854@maverick.zigsoft.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox