annotate src/main/resources/META-INF/persistence.xml @ 73:354deea8e738

Fixed generating return value for Create and Update.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 05 Jun 2013 16:53:35 +0200
parents 4266530e94a8
children 069cec27c9c6
rev   line source
1
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 <persistence version="2.0"
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 xsi:schemaLocation="
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 http://java.sun.com/xml/ns/persistence
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
22
c19770952a6e DO not provide a transaction type
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 16
diff changeset
7 <persistence-unit name="primary">
31
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
8 <jta-data-source>java:/jboss/Lada</jta-data-source>
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
9 <class>de.intevation.lada.model.LProbe</class>
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
10 <properties>
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
11 <!-- Properties for Hibernate -->
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
12 <property name="hibernate.show_sql" value="true" />
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
13 <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
14 <property name="hibernate.hbm2ddl.auto" value="none"/>
1
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 </properties>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 </persistence-unit>
26
47728bab8cb1 Fixed persistence.xml
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 25
diff changeset
17 </persistence>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)