Skip to content
Snippets Groups Projects
Commit dd521eb8 authored by Costin Leau's avatar Costin Leau Committed by Mic
Browse files

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.
parent 6116d124
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@
p:database="${jpa.database}" p:showSql="${jpa.showSql}"/>
-->
</property>
<property name="persistenceXmlLocation" value="classpath:META-INF/jpa-persistence.xml"/>
</bean>
<!-- Transaction manager for a single JPA EntityManagerFactory (alternative to JTA) -->
......@@ -62,8 +63,10 @@
<!--
Instruct Spring to perform declarative transaction management
automatically on annotated classes.
for mode="aspectj"/ see SPR-6392
-->
<tx:annotation-driven mode="aspectj"/>
<tx:annotation-driven/>
<!--
Simply defining this bean will cause requests to owner names to be saved.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment