Wow. Thanks. I looked up the hierarchy but somehow missed that.

Regards,
Apple Grew
my blog @ http://blog.applegrew.com/


On Thu, Mar 11, 2010 at 8:35 AM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote:

> requestcycle.onendrequest() or requestcycle.detach()
>
> -igor
>
> On Wed, Mar 10, 2010 at 6:54 PM, Apple Grew <appleg...@gmail.com> wrote:
> > Hi Wicket users,
> >
> > I am using iBatis to handle my DB transactions. It recommends creating
> one
> > SqlSession object per http request, which can be reused multiple times
> for
> > that request. So I am exposing its reference from my custom RequestCycle,
> > where it is instantiated for the first time it is accessed.
> >
> > But, this sql session needs to be closed at end of all the transactions.
> For
> > that I need a reliable method to detect the end of the request cycle to
> > close this sql session. Any suggestions?
> >
> > Regards,
> > Apple Grew
> > my blog @ http://blog.applegrew.com/
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to