The drop code word does not work?

#1

Using ObjectDB in embedded mode, I tried the following while test running:

EntityManagerFactory emf =
            Persistence.createEntityManagerFactory("objectdb:punkter.odb;drop");

The drop-codeword does not seem to work - I must manually delete the database file each time. I get no errors nor warnings.

#2

Either use a tmp/temp database name extension (instead of odb), or add support for dropping database files with the odb extension in the configuration.

ObjectDB Support
#3

I'm impressed - the configuration certainly makes the objectdb flexible. Thanks for your quick response.

Reply