Fix missing table error
This commit is contained in:
parent
aebd857931
commit
2f5a2be27a
@ -100,6 +100,8 @@ public class App {
|
||||
System.out.println(person);
|
||||
}
|
||||
|
||||
repository.deleteAll();
|
||||
|
||||
context.close();
|
||||
|
||||
}
|
||||
|
@ -54,7 +54,8 @@
|
||||
<property name="jpaProperties">
|
||||
<map>
|
||||
<entry key="hibernate.dialect" value="org.hibernate.dialect.H2Dialect" />
|
||||
<entry key="hibernate.hbm2ddl.auto" value="create-drop" />
|
||||
<entry key="hibernate.hbm2ddl.auto" value="create" />
|
||||
<entry key="hibernate.show_sql" value="false" />
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
|
Loading…
x
Reference in New Issue
Block a user