Re: How to pass ResultSet in RMI ? - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: How to pass ResultSet in RMI ?
Date
Msg-id 001001c1742c$759c86e0$8201a8c0@inspiron
Whole thread Raw
In response to How to pass ResultSet in RMI ?  (Dino Cherian <inimss@yahoo.com>)
List pgsql-jdbc
Geo,

Currently the driver reads the entire resultset into memory; so it
really doesn't matter how you pass it.
Personally I would probably read the resultset into another object and
then pass it on

Dave

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Dino Cherian
Sent: Thursday, November 22, 2001 7:55 AM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] How to pass ResultSet in RMI ?




I have an RMI server where the database related methods are implemented
and the necessaary interfaces are in the RMI client.

How should I pass the ResultSet object to the client from the database
server. Should I pass it using an array or just as the resultset object
?

which method is more efficient and safer?

Thanks
Geo



__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

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



pgsql-jdbc by date:

Previous
From: "Dave Cramer"
Date:
Subject: Re: Where should I connect to the database?
Next
From: "Dave Cramer"
Date:
Subject: Re: Postgres JDBC Driver Name for V7.1