comparison src/main/resources/META-INF/persistence.xml @ 22:c19770952a6e

DO not provide a transaction type
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 26 Apr 2013 15:00:56 +0200
parents 823a417cb8e5
children 34d7ecfba8d1
comparison
equal deleted inserted replaced
21:f4bc98fb8aac 22:c19770952a6e
2 <persistence version="2.0" 2 <persistence version="2.0"
3 xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation=" 4 xsi:schemaLocation="
5 http://java.sun.com/xml/ns/persistence 5 http://java.sun.com/xml/ns/persistence
6 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> 6 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
7 <persistence-unit name="primary" transaction-type="JTA"> 7 <persistence-unit name="primary">
8 <jta-data-source>java:/jboss/postgresql</jta-data-source> 8 <jta-data-source>java:/jboss/postgresql</jta-data-source>
9 <!-- If you are running in a production environment, add a managed 9 <!-- If you are running in a production environment, add a managed
10 data source, the example data source is just for development and testing! --> 10 data source, the example data source is just for development and testing! -->
11 <class>de.intevation.model.LProbe</class> 11 <class>de.intevation.model.LProbe</class>
12 <properties> 12 <properties>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)