I have a DB connection that I initialize on WebApplication.init(), which I override.
At the end, I need to close the DB connection in something like a destroy method for the app, but I couldn't find any overridable method for that. I tried overriding sessionDestroy() but it's not getting called when I close my browser, according to my debug statements. So what's the way to close DB connections at the end of the Wicket app's lifecycle? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-Catch-WebApplication-s-Destroy-tp3694556p3694556.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
