> Johan Compagner wrote: > > > > But yes you have a problem because what it tries to serialize is not > > supposed to be serialized. > > > > Well, if it makes a difference, I do have a Hibernate session stored on the > Page object (trying to use DataBinder Converstational session support). So, > I could see why it would try and serialize it.
Hibernate's Session is serializable but it depends on what's in it obviously. But why would you want to keep the session as a page var anyway? I think it's better to use e.g. that hibernate filter that sets in it the threadlocal for the request (and cleans it up afterwards) and access that threadlocal when you need it. Much cheaper. Eelco ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user