Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: ResultSet & setFetchSize fails to stop heap failures





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/documentation/83/query.html#query-with-cursor

Kris Jurka





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group