I have put an import.sql file — exported from my MySQL DB — in the root of my project and have these settings in Persistence.xml. I have also tried the META-INF directory.Code:<property name="hibernate.hbm2ddl.auto" value="create"/>
What else do I have to do in order to populate my DB before I run my integration tests as well as on deploy? As it is now nothing seems to happen and my DB is empty. I can import the file by hand, but I need this done automatically.


Reply With Quote