<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence">
  <persistence-unit name="RollerPU" transaction-type="RESOURCE_LOCAL">
    <!-- DB configuration done in roller-custom.properties (see Install guide)
         Avoiding DB configuration here to allow the same persistence.xml to be used between
         testing and prod (which have different DB configuration)
    -->

    <!-- Don't put trailing spaces after the .orm.xml, Hibernate doesn't strip them and
         hence reports can't-find-the-mapping-file errors -->
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogBookmark.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogEntryComment.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogEntryAttribute.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogBookmarkFolder.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogHitCount.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/PingQueueEntry.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/PingTarget.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/UserRole.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/RuntimeConfigProperty.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/TaskLock.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/User.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogCategory.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogEntry.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogEntryTagAggregate.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogEntryTag.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogTemplate.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/ObjectPermission.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/WeblogPermission.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/Weblog.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/OAuthConsumerRecord.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/OAuthAccessorRecord.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/MediaFile.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/MediaFileTag.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/MediaFileDirectory.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/AutoPing.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/weblogger/pojos/CustomTemplateRendition.orm.xml</mapping-file>

    <mapping-file>org/apache/roller/planet/pojos/Planet.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/planet/pojos/PlanetGroup.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/planet/pojos/Subscription.orm.xml</mapping-file>
    <mapping-file>org/apache/roller/planet/pojos/SubscriptionEntry.orm.xml</mapping-file>
  </persistence-unit>
</persistence>
