1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" version="2.1">
4 <persistence-unit name="samplePU" transaction-type="RESOURCE_LOCAL">
5 <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
6 <class>io.blep.MyEntity</class>
8 <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
9 <property name="javax.persistence.schema-generation.scripts.drop-target" value="sampleDrop.ddl"/>
10 <property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
11 <property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:sampleDB"/>