X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B94EE3A5E28 for ; Mon, 6 Dec 2004 09:08:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 49304-08 for ; Mon, 6 Dec 2004 09:08:52 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id BC6EE3A4D65 for ; Mon, 6 Dec 2004 09:08:49 +0000 (GMT) Received: (qmail 20140 invoked by uid 1112); 6 Dec 2004 09:10:18 -0000 Date: Mon, 6 Dec 2004 04:10:18 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Gaetano Sferra Cc: pgsql-jdbc Subject: Re: ResultSet got NullPointerException on getMetaData calls In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.104 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/37 X-Sequence-Number: 11703 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