petclinic-aplcache

Changes

src/main/resources/META-INF/orm.xml 122(+0 -122)

Details

diff --git a/src/main/resources/META-INF/jpa-persistence.xml b/src/main/resources/META-INF/jpa-persistence.xml
index 86bf7c1..fce44c2 100644
--- a/src/main/resources/META-INF/jpa-persistence.xml
+++ b/src/main/resources/META-INF/jpa-persistence.xml
@@ -3,14 +3,5 @@
 		xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
 		version="1.0">
 
-	<persistence-unit name="PetClinic" transaction-type="RESOURCE_LOCAL">
-
-		<!-- Explicitly define mapping file path, else Hibernate won't find the default -->
-		<mapping-file>META-INF/orm.xml</mapping-file>
-
-		<!-- Prevent annotation scanning. In this app we are purely driven by orm.xml -->
-		<exclude-unlisted-classes>true</exclude-unlisted-classes>
-
-	</persistence-unit>
-
+	<persistence-unit name="PetClinic" transaction-type="RESOURCE_LOCAL"/>
 </persistence>