annotate src/main/resources/META-INF/persistence.xml @ 26:47728bab8cb1

Fixed persistence.xml
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 30 Apr 2013 14:47:59 +0200
parents 34d7ecfba8d1
children 3fced8e2a030
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.LKommentarP</class>
34d7ecfba8d1 Added Relation to Kommentare by using the atomatic generation from database
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 22
diff changeset
10 <class>de.intevation.model.LKommentarPPK</class>
34d7ecfba8d1 Added Relation to Kommentare by using the atomatic generation from database
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 22
diff changeset
11 <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
12 <!-- 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
13 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
14 <properties>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 <!-- 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
16 <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
17 <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
18 <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
19 </properties>
177351d4cca9 Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 </persistence-unit>
26
47728bab8cb1 Fixed persistence.xml
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 25
diff changeset
21 </persistence>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)