db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Angel Fernandez Fernandez" <laff...@gmail.com>
Subject Re: how to copy a derby db?
Date Mon, 17 Dec 2007 09:30:15 GMT

2007/12/17, Oystein Grovlen - Sun Norway <Oystein.Grovlen@sun.com>:
> Luis,
> You are right that backup will give you a copy of the database, but your
> answer seem to indicate that you can have only have a single connection
> to an embedded database.  That is not true, when embedding a Derby
> database, you can have multiple connections from the same JVM.  In
> addition, if you start the Derby network server within that JVM, you
> will be able to connect to the database from other processes/computers.
> This way, you should be able to initiate a backup of the database from
> outside the application.

  I know about the Derby network server. But, because in an
application I'm modifying to support Derby instead MySQL multiple
connection from the same JVM didn't work I guessed I can't have
several connections... but surely it's a mistake on my code. Thank you
for correcting me.


View raw message