From: Kris Jurka <books@ejurka.com>
To: Gaetano Sferra <gaesferr@libero.it>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: ResultSet got NullPointerException on getMetaData calls
Date: Mon, 6 Dec 2004 04:10:18 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0412060404540.4347@leary.csoft.net> (raw)
In-Reply-To: <I8ALFT$189578CB5BD118C282FC0B9D1E04A48E@libero.it>
References: <I8ALFT$189578CB5BD118C282FC0B9D1E04A48E@libero.it>
On Mon, 6 Dec 2004, Gaetano Sferra wrote:
> I got a NullPointerException when try to call getMetaData method on a
> refcursor mapped on a ResultSet.
ResultSets based on refcursors currently don't have any metadata
associated with them. The whole refcursor implementation could be
upgraded to really use the V3 protocol (which would also allow it to
respect setFetchSize), but no one has tackled this project, so you are
unfortunately out of luck at the moment.
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, gaesferr@libero.it
Subject: Re: ResultSet got NullPointerException on getMetaData calls
In-Reply-To: <Pine.BSO.4.56.0412060404540.4347@leary.csoft.net>
References: <I8ALFT$189578CB5BD118C282FC0B9D1E04A48E@libero.it> <Pine.BSO.4.56.0412060404540.4347@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