From: Oliver Jowett <oliver@opencloud.com>
To: Karl von Randow <karl@xk72.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getColumnClassName() and getObject() types differ for
Date: Fri, 23 Sep 2005 10:54:10 +1200
Message-ID: <43333612.4090804@opencloud.com> (raw)
In-Reply-To: <20050922223443.WBPU5449.mta4-rme.xtra.co.nz@Orac>
References: <20050922223443.WBPU5449.mta4-rme.xtra.co.nz@Orac>
Karl von Randow wrote:
> For my smallint column:
> ResultSetMetaData.getColumnClassName() returns java.lang.Short
That sounds like a bug.
> ResultSet.getObject().getClass().getName() returns java.lang.Integer
This is the correct result per the JDBC spec.
-O
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, karl@xk72.com
Subject: Re: getColumnClassName() and getObject() types differ for
In-Reply-To: <43333612.4090804@opencloud.com>
References: <20050922223443.WBPU5449.mta4-rme.xtra.co.nz@Orac> <43333612.4090804@opencloud.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