Re: ResultSet & setFetchSize fails to stop heap failures

From: "U(dot) George" <netbeans(at)gatworks(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: ResultSet & setFetchSize fails to stop heap failures
Date: 2008-05-28 20:15:32
Message-ID: 483DBD64.3090207@gatworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

To do partial fetches you must turn autocommit off. See:
>
> http://jdbc.postgresql.org/documentation/83/query.html#query-with-cursor
>
> Kris Jurka
Yup, that did it. I suppose there is a reason why no exception is
thrown at the execute, or an error for the setFetchSize when autocommit
is still on?

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2008-05-28 20:28:51 Re: ResultSet & setFetchSize fails to stop heap failures
Previous Message Kris Jurka 2008-05-28 19:34:34 Re: ResultSet & setFetchSize fails to stop heap failures