when i deploy my JAR with my persistance.xml it remove the database and recreate it :
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
But i also want to auto-feed the database after re-create it.
For the moment i have sql file that i insert manually in the database after each deploy...
How can i automatize it directly with the deploiment phase?
Can i put sql-insert in my persistance.xml?