db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: Close Derby DB
Date Wed, 08 Jul 2009 18:51:03 GMT
sivagururaja wrote:
> Thanks to all,
>
> Now i solved my problem. Please take a look into this,
> DriverManager.getConnection("jdbc:derby:C:/MyDB;user=un;password=pw");
> After doing some DDL operations, i using the following for shutting down.
>
> DriverManager.getConnection("jdbc:derby:C:/MyDB;user=un;password=pw;shutdown=true");
>
>   
Yes, I think you are hitting the issue that the database must be booted 
before shutdown. I don't think the ddl is necessary. It is the first 
connection that is important.  I filed 
https://issues.apache.org/jira/browse/DERBY-4298 to improve the error 
message or change the behavior so that the shutdown succeeds if the 
database is not booted.

Kathey



Mime
View raw message