Unix Technical Forum

Re: ResultSet got NullPointerException on getMetaData calls

This is a discussion on Re: ResultSet got NullPointerException on getMetaData calls within the pgsql Interfaces jdbc forums, part of the PostgreSQL category; --> On Mon, 6 Dec 2004, Kris Jurka wrote: > ResultSets based on refcursors currently don't have any metadata > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces jdbc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-15-2008, 11:02 PM
Kris Jurka
 
Posts: n/a
Default Re: ResultSet got NullPointerException on getMetaData calls



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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com