Skip to content

Commit 917ab19

Browse files
committed
code cleaning
1 parent f3e5bc6 commit 917ab19

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

‎persistence-modules/java-jpa/src/test/resources/persistence.xml‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,5 @@
3333
</properties>
3434
</persistence-unit>
3535

36-
<persistence-unit name="h2" transaction-type="RESOURCE_LOCAL">
37-
38-
<!-- add classes -->
39-
<class>com.baeldung.jpa.stringcast.DummyEntity</class>
40-
41-
<properties>
42-
<!-- Configuring JDBC properties -->
43-
<property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1"/>
44-
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
45-
46-
<!-- Hibernate properties -->
47-
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
48-
<property name="hibernate.hbm2ddl.auto" value="validate"/>
49-
<property name="hibernate.format_sql" value="false"/>
50-
<property name="hibernate.show_sql" value="true"/>
51-
52-
</properties>
53-
</persistence-unit>
54-
5536
</persistence>
5637

0 commit comments

Comments
 (0)