IHibernateDao uses a callback, IHibernateCallback. You can do anything you like before you give out the session, and anything you like after the callback has been executed.
Yes, but I don't want to open and close the session around a single query or update. I want to do it at the beginning and end of a request; so the above does not help me.
What about the technique I am currently using (deinning onBeginRequest(), onEndRequest())? Is it a hack or is it the correct way?
Gili ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
