serialize resultset
1 posts in topic
Flat View  Flat View

Posted By:   John_Zhang
Posted On:   Wednesday, November 13, 2002 07:16 AM

resultset is not able tobe sent from EJB to JSP since it's not serializeable.is it posible to define my own resultset,inherate from resultset and implement serializeable interface,like:
class myResultSet extends resultSet implement serializable{
if so,what should I define inside this class?
Thank you

Re: serialize resultset

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, November 13, 2002 08:14 AM

Just define your own "value object" class, with what you need in it, and pass that. The details of JDBC ResultSet implementation are not relevant, and are not something that should be passed around between layers.

About | Sitemap | Contact