Re: How to pass ResultSet in RMI ?

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: How to pass ResultSet in RMI ?
Дата
Msg-id 001001c1742c$759c86e0$8201a8c0@inspiron
обсуждение исходный текст
Ответ на How to pass ResultSet in RMI ?  (Dino Cherian <inimss@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Cramer"
Дата:
Сообщение: Re: Where should I connect to the database?
Следующее
От: "Dave Cramer"
Дата:
Сообщение: Re: Postgres JDBC Driver Name for V7.1