You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2007/02/28 18:31:17 UTC
svn commit: r512859 -
/incubator/roller/branches/roller_4.0/apps/planet/testdata/META-INF/persistence.xml
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>