-
From: sachin mahajan [SMTP:[EMAIL PROTECTED]]
Sent:15 2002 6:32
To: Orion-Interest
Subject:Re: problem with ResultSet Object
Hello
Thanks. Can u explain me if i will use CachedRowSet object instead
of
ResultSet object
Sachin:
I think you have a design problem.
Please,anyone correct me if you think i'm wrong.
From inside a JSP page you should not access a
recordset returned by an EJB. EJB components represent mostly bussines objects
that contains rules and data access services. From outside the EJB (from
ResultSet is not a seralizable object.
ResultSet is opened cursor to the database. If you want to pass ResultSet
to client i.e jsp/servlet either conver the ResultSet data into you own custom
objects or collection classes. The other alternate is to use
CachedRowSet. CachedRowset is
, 2002 1:48 PM
Subject: RE: problem with ResultSet Object
ResultSEt is not a serializable object. For RMI purpose use CachedRowSet
object Take into account that this object is not for scalable
applications!
-Original Message-
From: sachin mahajan [SMTP:[EMAIL PROTECTED]]
Sent: 14