db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: Can you use createFrom to create a database from a backup database stored in a JAR file?
Date Thu, 22 Sep 2005 15:22:59 GMT
Michael Vinca wrote:

> Hello,
> I wasn't sure if this was going to work or not. There was nothing in the
> documentation to suggest it would, I was just hopeful. I tried searching
> the archives for "createFrom" but only got one hit, so I hope this is
> not a repeat question.
> I am attempting to create a writable database from a read only database
> in a JAR file. The idea is to have a clickable JAR file that can
> determine if an external database exists, and if not, creates it from an
> original (not blank) database stored within the JAR file. A code snippet
> follows:

This would be a good addition for Derby. I've long wanted the backup
procedure to be able to produce a jar file that can be used as a
read-only database. A logical extension of that would be what you want,
the ability to restore from such a jar.

Dan.


Mime
View raw message