From: Kris Jurka <books@ejurka.com>
To: Bruce Raggett <phicorp@iinet.net.au>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Version 8.0-310 and PreparedStatement.getParameterMetaData()
Date: Fri, 8 Apr 2005 18:04:16 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0504081800310.24516@leary.csoft.net> (raw)
In-Reply-To: <000801c53b78$cf036e30$1f593bcb@phicorp>
References: <000801c53b78$cf036e30$1f593bcb@phicorp>
On Thu, 7 Apr 2005, Bruce Raggett wrote:
> I have used PreparedStatement.getParameterMetaData() with version
> 8.0-310 and obtained the following results:
> (1) parameterMetaData.getParameterCount() worked correctly.
> (2) parameterMetaData.getParameterType() worked correctly.
> (3) parameterMetaData.getParameterClassName() returned null instead of
> java.lang.String.
>
> Does the third result above indicate a bug, or is this result expected
> at this stage of development?
Both. It clearly doesn't work, so it's a bug, but at the same time the
method is hardcoded to always to return null, so it's missing code instead
of non-working code. I suppose it should throw an Exception instead of
failing silently, but getting it to work can't be that hard.
Kris Jurka
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: books@ejurka.com, phicorp@iinet.net.au
Subject: Re: Version 8.0-310 and PreparedStatement.getParameterMetaData()
In-Reply-To: <Pine.BSO.4.56.0504081800310.24516@leary.csoft.net>
References: <000801c53b78$cf036e30$1f593bcb@phicorp> <Pine.BSO.4.56.0504081800310.24516@leary.csoft.net>
* 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