persistence.xml 2.28 KB
Newer Older
toaster's avatar
toaster committed
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
  <persistence-unit name="ace-amPU" transaction-type="RESOURCE_LOCAL">
toaster's avatar
   
toaster committed
4
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
toaster's avatar
toaster committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
    <non-jta-data-source>java:comp/env/jdbc/aceamdb</non-jta-data-source>
    <class>edu.umiacs.ace.monitor.log.LogEvent</class>
    <class>edu.umiacs.ace.monitor.users.Users</class>
    <class>edu.umiacs.ace.monitor.users.UserRoles</class>
    <class>edu.umiacs.ace.monitor.reporting.ReportItem</class>
    <class>edu.umiacs.ace.monitor.reporting.ReportSummary</class>
    <class>edu.umiacs.ace.monitor.reporting.ReportPolicy</class>
    <class>edu.umiacs.ace.driver.srb.SrbSettings</class>
    <class>edu.umiacs.ace.driver.irods.IrodsSetting</class>
    <class>edu.umiacs.ace.driver.benchmark.BenchmarkSettings</class>
    <class>edu.umiacs.ace.driver.filter.FilterEntry</class>
    <class>edu.umiacs.ace.monitor.core.Collection</class>
    <class>edu.umiacs.ace.monitor.peers.PeerCollection</class>
    <class>edu.umiacs.ace.monitor.peers.PartnerSite</class>
    <class>edu.umiacs.ace.monitor.core.Token</class>
    <class>edu.umiacs.ace.monitor.core.MonitoredItem</class>
toaster's avatar
toaster committed
21
    <class>edu.umiacs.ace.driver.swap.SwapSettings</class>
22
    <class>edu.umiacs.ace.monitor.settings.SettingsParameter</class>
toaster's avatar
toaster committed
23
24
25
    <exclude-unlisted-classes>true</exclude-unlisted-classes>
    <properties>
      <!-- <property name="toplink.logging.level" value="FINE"/> -->
Michael Ritter's avatar
Michael Ritter committed
26
27
28
      <!-- <property name="eclipselink.logging.file" value="/tmp/eclipselink.log"/> -->
      <!-- <property name="eclipselink.logging.level" value="FINE"/> -->
      <!-- <property name="eclipselink.logging.level.sql" value="FINE"/> -->
toaster's avatar
   
toaster committed
29
30
31
32
      <property name="eclipselink.session.customizer" value="edu.umiacs.ace.util.DataSourceSessionCustomizer"/>
      <!-- <property name="eclipselink.create-ddl-jdbc-file-name" value="create.sql"/>
      <property name="eclipselink.ddl-generation.output-mode" value="sql-script"/>
      <property name="eclipselink.application-location" value="/tmp"/>-->
toaster's avatar
toaster committed
33
34
35
    </properties>
  </persistence-unit>
</persistence>