ItEr20S04ArquitecturaServidorItEr19S04: Forcing hibernate to recreate always the schema when testing.

This also has the desired side effect of removing test data created in tests outside of transactions.
This commit is contained in:
Óscar González Fernández 2009-08-04 22:15:58 +02:00
parent 20aa9f0d99
commit c27e3ad336

View file

@ -7,7 +7,7 @@
<property name="hibernate.show_sql">true</property>
<property name="hibernate.format_sql">true</property>
<property name="hibernate.use_sql_comments">true</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<property name="hibernate.hbm2ddl.auto">create</property>
<event type="pre-update">
<listener class="org.hibernate.validator.event.ValidateEventListener" />
</event>