users@glassfish.java.net

Re: [EclipseLink] Clean JPA database for EJB unit tests

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Apr 2010 02:34:27 PDT

Is there a TRUN DATABASE statement in JPA ?

Because doing a sequence of

DELETE FROM EntityCass1
DELETE FROM EntityCass2
...

is an issue form me as I would have to null'fy a large number circular references first in my schema.
[Message sent by forum member 'walec51']

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