From dd521eb88a32fb613d1a18ae9b9f30cd7b227707 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Mon, 14 Dec 2009 19:06:58 +0000 Subject: [PATCH] SAMPLESPET-3 + renamed META-INF/persistence.xml to META-INF/jpa-persistence.xml since JBoss will scan it automatically and complain about non-jta-resources declared. --- src/main/webapp/WEB-INF/applicationContext-jpa.xml | 5 ++++- .../META-INF/{persistence.xml => jpa-persistence.xml} | 0 2 files changed, 4 insertions(+), 1 deletion(-) rename src/main/webapp/WEB-INF/classes/META-INF/{persistence.xml => jpa-persistence.xml} (100%) diff --git a/src/main/webapp/WEB-INF/applicationContext-jpa.xml b/src/main/webapp/WEB-INF/applicationContext-jpa.xml index 080351116..01ebfa01c 100644 --- a/src/main/webapp/WEB-INF/applicationContext-jpa.xml +++ b/src/main/webapp/WEB-INF/applicationContext-jpa.xml @@ -42,6 +42,7 @@ p:database="${jpa.database}" p:showSql="${jpa.showSql}"/> --> + @@ -62,8 +63,10 @@ - +