This content has been marked as final.
Show 2 replies
-
1. Re: Seam Tests dont persist my data
niox.nikospara.yahoo.com Mar 29, 2010 3:23 PM (in response to abreumania)Hi,
The file persistence-test.xml contains:
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
You can change that to
create
(or any other value allowed by Hibernate), so that it doesnt drop the database tables when the PersistenceContext is destroyed. -
2. Re: Seam Tests dont persist my data
abreumania Mar 30, 2010 2:48 PM (in response to abreumania)I'm using maven and in folder src/test/resources has the META-
INF/persistence.xml with the property hibernate.hbm2ddl.auto like update.I dont understand why the application don't keep the data!