I agree, the formatting does look wacky, but I didn't write it I just copied it from the jpa branch so that my trunk build would work again.

-- Allen


Matt Raible wrote:
The spaces seem kinda strange?

<mapping-file>org/apache/roller/pojos/AutoPingData.orm.xml
     </mapping-file>

On 5/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: agilliland
Date: Fri May 25 09:14:24 2007
New Revision: 541710

URL: http://svn.apache.org/viewvc?view=rev&rev=541710
Log:
need persistence.xml file


Added:
    roller/trunk/src/META-INF/persistence.xml

Added: roller/trunk/src/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/roller/trunk/src/META-INF/persistence.xml?view=auto&rev=541710 ==============================================================================
--- roller/trunk/src/META-INF/persistence.xml (added)
+++ roller/trunk/src/META-INF/persistence.xml Fri May 25 09:14:24 2007
@@ -0,0 +1,34 @@
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"; version="1.0">
+
+ <persistence-unit name ="RollerPU" transaction-type = "RESOURCE_LOCAL"> + <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
+        <!--
+        <jta-data-source>java:comp/env/jdbc/rollerdb</jta-data-source>
+ <provider>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</provider>
+        -->
+ <mapping-file>org/apache/roller/pojos/AutoPingData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/BookmarkData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/CommentData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/EntryAttributeData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/FolderData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/HitCountData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/ObjectAuditData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/PermissionsData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/PingCategoryRestrictionData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/PingQueueEntryData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/PingTargetData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/RefererData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/RoleData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/RollerConfigData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/RollerPropertyData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/TaskLockData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/UserData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/WeblogCategoryData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/WeblogEntryData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/WeblogEntryTagAggregateData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/WeblogEntryTagData.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/WeblogTemplate.orm.xml </mapping-file> + <mapping-file>org/apache/roller/pojos/WebsiteData.orm.xml </mapping-file>
+    </persistence-unit>
+
+</persistence>





Reply via email to