geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r832558 - /geronimo/sandbox/jbohn/daytrader-bp/modules/entities/src/main/resources/META-INF/persistence.xml
Date Tue, 03 Nov 2009 21:12:05 GMT
Author: jbohn
Date: Tue Nov  3 21:12:04 2009
New Revision: 832558

URL: http://svn.apache.org/viewvc?rev=832558&view=rev
Log:
updated persistence.xml for JTA

Modified:
    geronimo/sandbox/jbohn/daytrader-bp/modules/entities/src/main/resources/META-INF/persistence.xml

Modified: geronimo/sandbox/jbohn/daytrader-bp/modules/entities/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/jbohn/daytrader-bp/modules/entities/src/main/resources/META-INF/persistence.xml?rev=832558&r1=832557&r2=832558&view=diff
==============================================================================
--- geronimo/sandbox/jbohn/daytrader-bp/modules/entities/src/main/resources/META-INF/persistence.xml
(original)
+++ geronimo/sandbox/jbohn/daytrader-bp/modules/entities/src/main/resources/META-INF/persistence.xml
Tue Nov  3 21:12:04 2009
@@ -17,7 +17,7 @@
 -->
 <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
 
-    <persistence-unit transaction-type="RESOURCE_LOCAL" name="daytrader">
+    <persistence-unit transaction-type="JTA" name="daytrader">
         <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
           <jta-data-source>javax.sql.DataSource/(osgi.jndi.serviceName=jdbc/TradeDataSource)</jta-data-source>

           <non-jta-data-source>javax.sql.DataSource/(osgi.jndi.serviceName=jdbc/NoTxTradeDataSource)</non-jta-data-source>




Mime
View raw message