db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Øystein Grøvlen <Oystein.Grov...@Sun.COM>
Subject Re: Urgent : Problem in booting up the database using Derby
Date Sat, 06 Dec 2008 17:04:08 GMT

Emmanuel Cecchet wrote:
> Kamesh,
>> I'm suffering a weird kind of a problem while running my JUnit Test 
>> Cases against a database which uses derby as an engine.
>> Once after each test case gets completed I'm shutting down the 
>> database and derby using the following piece of code
>> DriverManager.getConnection("jdbc:derby:;shutdown=true");
> Are you not supposed to provide the database name in the URL? It looks 
> like it is missing here.

No, if you do not specify a database, all booted databases and the 
database engine will be shut down.


View raw message