db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald McLean <dmclea...@gmail.com>
Subject Re: Checking if a db is open without actually opening it
Date Sat, 04 Jul 2009 04:14:20 GMT
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@sun.com> 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.

Mime
View raw message