Mercurial > lada > lada-server
annotate src/main/resources/META-INF/persistence.xml @ 30:c11b0df06151
Added Umwelt-Stammdaten service and data model.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 22 May 2013 13:21:35 +0200 |
parents | 3fced8e2a030 |
children | 4266530e94a8 |
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"> |
16
823a417cb8e5
Configured which datasource to use in the project. The datasource is
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
8 <jta-data-source>java:/jboss/postgresql</jta-data-source> |
25
34d7ecfba8d1
Added Relation to Kommentare by using the atomatic generation from database
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
22
diff
changeset
|
9 <class>de.intevation.model.LProbe</class> |
1
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 <!-- If you are running in a production environment, add a managed |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 data source, the example data source is just for development and testing! --> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 <properties> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 <!-- Properties for Hibernate --> |
16
823a417cb8e5
Configured which datasource to use in the project. The datasource is
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
14 <property name="hibernate.show_sql" value="true" /> |
823a417cb8e5
Configured which datasource to use in the project. The datasource is
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
15 <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/> |
823a417cb8e5
Configured which datasource to use in the project. The datasource is
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
13
diff
changeset
|
16 <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
|
17 </properties> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 </persistence-unit> |
26
47728bab8cb1
Fixed persistence.xml
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
25
diff
changeset
|
19 </persistence> |