... allow me to add few details to Dan's answer ....
ResultSet is not a serializable object but just an interface.... thus
you cannot send it over the network ! :(
You should transfer data to your own custom serializable object then
return that to the client.
Hope this helps.
Dovan
"danch (Dan Christopherson)" wrote:
> Mike korcynski wrote:
>
> > Hello:
> >
> > 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.
> >
>
> Short answer, no it's not a bug.
>
> That's probably not a good thing to do: remember that EJBs are (among
> other things) transactional - what you're trying to do is get a db
> cursor in the context of some transaction and pass it back to the
> client, with the transaction closing along the way!
>
> -danch
>
> _______________________________________________
> 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