Mercurial > lada > lada-server
comparison src/main/resources/META-INF/persistence.xml @ 31:4266530e94a8
Changed jta data source and cosmetics.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 22 May 2013 13:23:06 +0200 |
parents | 3fced8e2a030 |
children | 069cec27c9c6 |
comparison
equal
deleted
inserted
replaced
30:c11b0df06151 | 31:4266530e94a8 |
---|---|
3 xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 3 xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 xsi:schemaLocation=" | 4 xsi:schemaLocation=" |
5 http://java.sun.com/xml/ns/persistence | 5 http://java.sun.com/xml/ns/persistence |
6 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> | 6 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> |
7 <persistence-unit name="primary"> | 7 <persistence-unit name="primary"> |
8 <jta-data-source>java:/jboss/postgresql</jta-data-source> | 8 <jta-data-source>java:/jboss/Lada</jta-data-source> |
9 <class>de.intevation.model.LProbe</class> | 9 <class>de.intevation.lada.model.LProbe</class> |
10 <!-- If you are running in a production environment, add a managed | 10 <properties> |
11 data source, the example data source is just for development and testing! --> | 11 <!-- Properties for Hibernate --> |
12 <properties> | 12 <property name="hibernate.show_sql" value="true" /> |
13 <!-- Properties for Hibernate --> | 13 <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/> |
14 <property name="hibernate.show_sql" value="true" /> | 14 <property name="hibernate.hbm2ddl.auto" value="none"/> |
15 <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/> | |
16 <property name="hibernate.hbm2ddl.auto" value="none"/> | |
17 </properties> | 15 </properties> |
18 </persistence-unit> | 16 </persistence-unit> |
19 </persistence> | 17 </persistence> |