roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r512859 - /incubator/roller/branches/roller_4.0/apps/planet/testdata/META-INF/persistence.xml
Date Wed, 28 Feb 2007 17:31:17 GMT
Author: agilliland
Date: Wed Feb 28 09:31:15 2007
New Revision: 512859

URL: http://svn.apache.org/viewvc?view=rev&rev=512859
Log:
current default provider is TopLink, but also include commented out options for Hibernate
and OpenJPA.


Modified:
    incubator/roller/branches/roller_4.0/apps/planet/testdata/META-INF/persistence.xml

Modified: incubator/roller/branches/roller_4.0/apps/planet/testdata/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_4.0/apps/planet/testdata/META-INF/persistence.xml?view=diff&rev=512859&r1=512858&r2=512859
==============================================================================
--- incubator/roller/branches/roller_4.0/apps/planet/testdata/META-INF/persistence.xml (original)
+++ incubator/roller/branches/roller_4.0/apps/planet/testdata/META-INF/persistence.xml Wed
Feb 28 09:31:15 2007
@@ -1,11 +1,15 @@
 <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
     
-    <persistence-unit name ="PlanetPU" transaction-type = "RESOURCE_LOCAL">
+    <persistence-unit name="PlanetPU" transaction-type="RESOURCE_LOCAL">
+        <!--
+        <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+        <provider>org.hibernate.ejb.HibernatePersistence</provider>
+        -->
         <provider>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</provider>
-        <jta-data-source>jdbc/planetdb</jta-data-source>
+        
+        <mapping-file>org/apache/roller/planet/pojos/PropertyData.orm.xml</mapping-file>
         <mapping-file>org/apache/roller/planet/pojos/PlanetData.orm.xml</mapping-file>
         <mapping-file>org/apache/roller/planet/pojos/PlanetGroupData.orm.xml</mapping-file>
-        <mapping-file>org/apache/roller/planet/pojos/PropertyData.orm.xml</mapping-file>
         <mapping-file>org/apache/roller/planet/pojos/PlanetEntryData.orm.xml</mapping-file>
         <mapping-file>org/apache/roller/planet/pojos/PlanetSubscriptionData.orm.xml</mapping-file>

     </persistence-unit>



Mime
View raw message