db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmclea...@comcast.net
Subject Re: How to recover from the DB not existing
Date Sun, 24 Sep 2006 13:23:50 GMT
Rather than try and create the database and then have an alternate plan if it fails, you could
check to see if the file exists and it if doesn't, create it.

The DatabaseManager code that I posted to the wiki shows one approach for this:

http://wiki.apache.org/db-derby/DatabaseManager

Donald

Mime
View raw message