Mercurial > lada > lada-server
annotate src/main/resources/META-INF/persistence.xml @ 175:0474c86a2f4a
Fix for issue 15. Changed model and REST interface for Zusatzwerte
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 26 Jun 2013 11:41:08 +0200 (2013-06-26) |
parents | 069cec27c9c6 |
children | eefa5e465c2c |
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" /> |
4266530e94a8
Changed jta data source and cosmetics.
Raimund Renkert <rrenkert@intevation.de>
parents:
27
diff
changeset
|
14 <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
|
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> |