Holding a JDBC connection in session is hardly a good idea. Anyway,
take a look at HttpSessionListener.

-Matej

On Tue, Jul 8, 2008 at 5:39 PM, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> How can I handle the end of a Session? I have a Session thet holds a
> JDBC-Connection. Now I want to close this connection when the session
> ends. Which method of Sessin can I override to handle the end of a
> session? The finalize method is called after all actions and I dan't
> close my JDBC session in finalize because the classes are already
> invalidated. The invalidate method of session is not called on Session
> end. I'm using wicket 1.4M2.
>
> Stefan Lindner
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to