source: RevitalizationWS/ws/DPWS/trunk/src/main/resources/META-INF/persistence.xml @ 7660

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/RevitalizationWS/ws/DPWS/trunk/src/main/resources/META-INF/persistence.xml@7660
Revision 7660, 1014 bytes checked in by mnagni, 10 years ago (diff)

added a service to retrieve provider statistics

  • Property svn:mime-type set to text/plain
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<persistence version="1.0"
3        xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
5        <persistence-unit name="discoveryDPWS" transaction-type="JTA">
6                <jta-data-source>jdbc/discoveryDPWS</jta-data-source>
7                <properties>
8                        <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
9                        <property name="hibernate.hbm2ddl.auto" value="validate" />
10                </properties>           
11        </persistence-unit>
12       
13        <persistence-unit name="discoveryDB" transaction-type="JTA">
14                <jta-data-source>jdbc/discoveryDB</jta-data-source>
15                <exclude-unlisted-classes>true</exclude-unlisted-classes>
16                <properties>
17                        <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
18                        <property name="hibernate.hbm2ddl.auto" value="validate" />
19                </properties>           
20        </persistence-unit>     
21</persistence>
Note: See TracBrowser for help on using the repository browser.