db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sivagururaja <sivagurur...@gmail.com>
Subject Re: Close Derby DB
Date Tue, 07 Jul 2009 15:46:11 GMT

Thanks Mr.Rick,

I tried the following,
It throws, Database 'C:/MyDB' not found.

If i remove the "shutdown=true", it works fine. Except the connection is not
getting closed.
And my schema is APP. As per documents "only the database owner can shut
down the database."
Is that any thing i missed? 

Thanks in advance.

Rick Hillegas-2 wrote:
> Hi Sivaguraraja,
>  From your description, it sounds as though you have successfully closed 
> the ResultSet, Statement, and Connection. However, the database is still 
> booted. The database does not automatically shut down when the last 
> Connection closes. Instead, you need to shut down the database 
> explicitly. You can find the instructions for doing that here: 
> http://db.apache.org/derby/docs/dev/devguide/tdevdvlp40464.html
> Hope this helps,
> -Rick
View this message in context: http://www.nabble.com/Close-Derby-DB-tp24372778p24375904.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

View raw message