How to pass ResultSet in RMI ?
How to pass ResultSet in RMI ?
От:
Dino Cherian <inimss@yahoo.com>
Дата:
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
Re: How to pass ResultSet in RMI ?
От:
"Dave Cramer" <Dave@micro-automation.net>
Дата:
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