db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martin stanik <martin.sta...@ecs-online.sk>
Subject should derby use addShutdownHook() out of box?
Date Tue, 28 Oct 2008 13:30:58 GMT

I (silly boy) do not understand why derby engine needs to be shut down using

My application uses datasource, which is  _sometimes_  configured to use 
I do not like always execute the statement, as derby might be not in use and 
it could
cause loading derby classes.
I do not like idea to investigate my datasource if it does use derby or not.

Since 1.3 we have Runtime.addShutdownHook() - for me it looks like perfect 
and derby should use it  by default after starting engine.

Am i wrong? Where i could found arguments?

thanks, martin 

View raw message