users@glassfish.java.net

Re: EJBContainer dropping the tables after unit test

From: <glassfish_at_javadesktop.org>
Date: Sat, 03 Apr 2010 10:44:47 PDT

From memory aren't there 3 ddl options for a persistence unit. Create, Create and Drop and Nothing. I suspect you have the second one which i think is the default when you use netbeans, for example. This would create the tables at startup and drop them when you close the container.
[Message sent by forum member 'jsl123']

http://forums.java.net/jive/thread.jspa?messageID=395167