We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aebd857 commit 2f5a2beCopy full SHA for 2f5a2be
repository/src/main/java/com/iluwatar/repository/App.java
@@ -100,6 +100,8 @@ public static void main(String[] args) {
100
System.out.println(person);
101
}
102
103
+ repository.deleteAll();
104
+
105
context.close();
106
107
repository/src/main/resources/applicationContext.xml
@@ -54,7 +54,8 @@
54
<property name="jpaProperties">
55
<map>
56
<entry key="hibernate.dialect" value="org.hibernate.dialect.H2Dialect" />
57
- <entry key="hibernate.hbm2ddl.auto" value="create-drop" />
+ <entry key="hibernate.hbm2ddl.auto" value="create" />
58
+ <entry key="hibernate.show_sql" value="false" />
59
</map>
60
</property>
61
</bean>
0 commit comments