Re: [GENERAL] JDBC-Question

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Marin Dimitrov'" <marin(dot)dimitrov(at)sirma(dot)bg>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [GENERAL] JDBC-Question
Date: 2002-03-14 12:57:43
Message-ID: 00bc01c1cb57$d4df45c0$0b01a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

Actually, at the moment the driver gets all the result set at once, so
no setFetchSize() isn't implemented.

However you can get a cursor back and scroll through the result set
yourself

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Marin Dimitrov
Sent: Thursday, March 14, 2002 6:55 AM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] [GENERAL] JDBC-Question

>
> Do I have all the data (1000 rows) in memory or dose the driver fetch
> the data as needed (while iterating over the rset instance) from my
> postgresql backend.
>

since I would expect that the driver retrieves the result sets in chunks
I'd like to know if this behaviour can be controlled - i.e. is
setFetchSize() implemented?

thanx,

Marin

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-general by date

  From Date Subject
Next Message William C Brennan 2002-03-14 12:58:54 Re: Postgres on Apple hardware?
Previous Message Marin Dimitrov 2002-03-14 11:54:44 Re: [GENERAL] JDBC-Question

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kovács Péter 2002-03-14 13:58:59 Re: measure of JDBC performances
Previous Message Marin Dimitrov 2002-03-14 11:54:44 Re: [GENERAL] JDBC-Question