For testing, how can I make sure the tearDown completely deletes the
db, and setUp creates a completely new copy, without using in-memory
db?

We do this in the Derby regression test suite.

Have a look at 
org.apache.derbyTesting.functionTests.junit.CleanDatabaseTestSetup.java

thanks,

bryan

Reply via email to