Re: ResultSet got NullPointerException on getMetaData calls

From: Kris Jurka <books(at)ejurka(dot)com>
To: Gaetano Sferra <gaesferr(at)libero(dot)it>
Cc: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: ResultSet got NullPointerException on getMetaData calls
Date: 2004-12-06 09:10:18
Message-ID: Pine.BSO.4.56.0412060404540.4347@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-12-06 09:13:49 Re: meta data information returned for domains
Previous Message Kris Jurka 2004-12-06 09:04:46 Re: Question reminder