code cleaning

This commit is contained in:
Marcos Lopez Gonzalez 2018-11-10 19:17:23 +01:00
parent f3e5bc6ee3
commit 917ab19240
1 changed files with 0 additions and 19 deletions

View File

@ -33,24 +33,5 @@
</properties>
</persistence-unit>
<persistence-unit name="h2" transaction-type="RESOURCE_LOCAL">
<!-- add classes -->
<class>com.baeldung.jpa.stringcast.DummyEntity</class>
<properties>
<!-- Configuring JDBC properties -->
<property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1"/>
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
<!-- Hibernate properties -->
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
<property name="hibernate.hbm2ddl.auto" value="validate"/>
<property name="hibernate.format_sql" value="false"/>
<property name="hibernate.show_sql" value="true"/>
</properties>
</persistence-unit>
</persistence>