Re: How to pass ResultSet in RMI ?

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Dino Cherian'" <inimss(at)yahoo(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: How to pass ResultSet in RMI ?
Date: 2001-11-23 14:38:03
Message-ID: 001001c1742c$759c86e0$8201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Dino Cherian
Sent: Thursday, November 22, 2001 7:55 AM
To: pgsql-jdbc(at)postgresql(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jayesh K. Parayali 2001-11-23 17:22:01 Re: Where should I connect to the database?
Previous Message Dave Cramer 2001-11-23 14:36:19 Re: postgreSQL functions and postgres JDBC