Hi
I've created a new dynamic web-project in Eclipse Galileo and added
Persistence & EclipseLink to it - rather than create two projects - a JPA
Project and a Web Project and including the JPA project as a dependancy of
the Web project. I've defined some entities (persistence.xml ddl-generation
set to "drop-and-create-tables") and used the Dali tools to create Tables
from Entities - and written the code to pre-populate some control table
entries via EclipseLink.
However, when I try to run any unit test that accesses the persistence
layer, EclipseLink drops the tables and re-creates them and my unit tests
fail because the control data is obviously no longer present. Is this
because I haven't separated the projects - or have I missed something in the
setup?
Regards