Subject Re: [Firebird-Java] Re: setAutoCommit() throws Exception in JBIRD2.0
Author Roman Rokytskyy
Thanks for the confirmation.

> -I am accessing a database from java via the embedded server. I want
> to backup the database while the connection is still open. Should
> FBBackupManager be able to do that? (backupDatabase() seems to need
> it's own connection).

No, this is not possible, since embedded locks the database file for
exclusive access.

> Is there any other way to backup an embedded database while it is in
> use (other than me writing my own function)?

Only via your application (in fact the same JVM in which the connection was
obtained).

Roman