Mercurial > lada > lada-server
annotate src/main/resources/META-INF/persistence.xml @ 274:2a8d816610c4
REST get test, check if the right (message 200) answer is given.
For this use specific probeId and messungsId.
Add a test for get findbyid proben.
author | Ludwig Reiter <ludwig@intevation.de> |
---|---|
date | Fri, 26 Jul 2013 12:23:18 +0200 |
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> |