Look at CachedRowSet implementation from Sun - it is Serializable and 
can be disconnected: 
http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html

David

--

Mike korcynski wrote:

> Hello:
>    I am currently working on a project using JBoss
> 2.2.  I have stumbled upon a strange problem I was
> hoping someone could help me with.  I have a method in
> a session bean that will perform an ad hoc query on a
> database and return the results to the client in a
> ResultSet.  However, it appears that the
> implementation of ResultSet is not serializable:
>   "Caused by: java.io.NotSerializableException:     
> org.opentools.minerva.jdbc.ResultSetInPool"
> 
>    Am I doing something wrong or is this some sort of
> bug?  It would seem useful to be able to return a
> ResultSet to a client.  Can someone advise?  Thank you
> for your time.
> 
> Mike Korcynski
> 
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Spot the hottest trends in music, movies, and more.
> http://buzz.yahoo.com/
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to