source: mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/resources/META-INF/persistence.xml @ 8116

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/resources/META-INF/persistence.xml@8116
Revision 8116, 976 bytes checked in by mnagni, 8 years ago (diff)

Now the Discovery's getList and getListNames are retrieved from two new tables in the DiscoveryDB
Refactored the TermTarget?, others ListNames? to be done soon
Preliminary dependency for the DbUnit?/HSQLDB environment
In the Discovery XSD Schema the ResourceLocator? changed from xs:String to xs:Boolean

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                <properties>
16                        <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
17                        <!-- <property name="hibernate.hbm2ddl.auto" value="validate" />  -->                   
18                </properties>           
19        </persistence-unit>     
20</persistence>
Note: See TracBrowser for help on using the repository browser.