Commit 5ecc7adf authored by Leonardo Marcelino Vieira's avatar Leonardo Marcelino Vieira
Browse files

hibernate cfg create-drop -> update

parent e1f1a5c1
Showing with 1 addition and 1 deletion
+1 -1
......@@ -8,7 +8,7 @@
<property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.format_sql">true</property>
<property name="hbm2ddl.auto">create-drop</property>
<property name="hbm2ddl.auto">update</property>
<mapping class="br.com.gastronomia.model.Usuario" />
<mapping class="br.com.gastronomia.model.Ingrediente" />
<mapping class="br.com.gastronomia.model.Receita" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment