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:
parent
20aa9f0d99
commit
c27e3ad336
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue