annotate src/main/resources/META-INF/persistence.xml @ 396:6ba7630c7e52

Fixed data type in database request.
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 16 Dec 2013 11:23:40 +0100
parents eefa5e465c2c
children
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>
106
069cec27c9c6 Added Interface to get Netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 31
diff changeset
10 <class>de.intevation.lada.model.SNetzBetreiber</class>
31
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
11 <properties>
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
12 <!-- Properties for Hibernate -->
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
13 <property name="hibernate.show_sql" value="true" />
353
eefa5e465c2c Use the hibernate spatial postgis dialect to connect to the database.
Raimund Renkert <rrenkert@intevation.de>
parents: 106
diff changeset
14 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
31
4266530e94a8 Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents: 27
diff changeset
15 <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
16 </properties>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 </persistence-unit>
26
47728bab8cb1 Fixed persistence.xml
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 25
diff changeset
18 </persistence>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)