« Return to Thread: Checking if a db is open without actually opening it

Re: Checking if a db is open without actually opening it

by Donald McLean-3 :: Rate this Message:

Reply to Author | View in Thread

The easiest thing would probably be to look for the lock file.

On Fri, Jul 3, 2009 at 1:41 PM, Alan Burlison<Alan.Burlison@...> wrote:
> I'm wrapping the Derby replication stuff with some safety checks, and I want
> to make sure that the slave DB isn't currently open before I overwrite it.
>  Is there any way of asking Derby if it has a database open without opening
> it as a result?
-------------------------------------------------------------
Family photographs are a critical legacy for
ourselves and our descendants. Protect that
legacy with a digital backup and recovery plan.

 « Return to Thread: Checking if a db is open without actually opening it