Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > Re: ResultSet &...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 1963 of 2028
Post > Topic >>

Re: ResultSet & setFetchSize fails to stop heap failures

by books@[EMAIL PROTECTED] (Kris Jurka) May 28, 2008 at 03:34 PM

On Wed, 28 May 2008, U. George wrote:

> The resultset is a very large  set of rows  ( each row 2 ints and a
> bunch of doubles ) .  I am unable to  convince jdbc to fetch one row at
> a time, and avoid the heap failure.
> Is there a way, or just a bug, or feature deficiency?

To do partial fetches you must turn autocommit off.  See:

http://jdbc.postgresql.org/do***entation/83/query.html#query-with-cursor

Kris Jurka



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
 




 4 Posts in Topic:
ResultSet & setFetchSize fails to stop heap failures
netbeans@[EMAIL PROTECTED  2008-05-28 15:09:47 
Re: ResultSet & setFetchSize fails to stop heap failures
books@[EMAIL PROTECTED]   2008-05-28 15:34:34 
Re: ResultSet & setFetchSize fails to stop heap failures
netbeans@[EMAIL PROTECTED  2008-05-28 16:15:32 
Re: ResultSet & setFetchSize fails to stop heap failures
books@[EMAIL PROTECTED]   2008-05-28 16:28:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 1:51:53 CDT 2008.