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 F39B040C184 for ; Sun, 30 Jan 2005 11:07:19 +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 57069-01 for ; Sun, 30 Jan 2005 11:07:12 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id CAE5240C0B5 for ; Sun, 30 Jan 2005 11:05:34 +0000 (GMT) Received: (qmail 29108 invoked by uid 1112); 30 Jan 2005 11:08:38 -0000 Date: Sun, 30 Jan 2005 06:08:38 -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.015 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/294 X-Sequence-Number: 12174 On Mon, 6 Dec 2004, Kris Jurka wrote: > 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. > Actually, rechecking this report. Things seem to work fine in the 8.0 driver and ResultSetMetaData is available for refcursor ResultSets. The fetchsize is still an open item though. Kris Jurka