|
From: Mikko V. <mi...@so...> - 2004-02-09 15:49:23
|
Hello all, I'm new Java Service Wrapper user and I'm running the HSQL Database as a service on my machine with the wrapper. I was wondering how to execute a shutdown command for the database when the service is stopped. As you might know the HSQLDB can be shut down by calling SQL 'SHUTDOWN' command. Now if I write a simple java class which only executes that command through jdbc, then is it possible to set that java class to be called when the hdbc service is stopped? Thanks for any advice, Mikko |