Mercurial > lada > lada-server
comparison src/main/resources/META-INF/persistence.xml @ 806:fee42d7b2f33
merged.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 25 Nov 2015 13:35:12 +0100 |
parents | 8249a76a1f6d |
children | 90343e38225f |
comparison
equal
deleted
inserted
replaced
805:a549700c338d | 806:fee42d7b2f33 |
---|---|
24 <properties> | 24 <properties> |
25 <!-- The JNDI name for lookups in the application --> | 25 <!-- The JNDI name for lookups in the application --> |
26 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/> | 26 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/> |
27 <!-- Properties for Hibernate --> | 27 <!-- Properties for Hibernate --> |
28 <property name="hibernate.hbm2ddl.auto" value="none"/> | 28 <property name="hibernate.hbm2ddl.auto" value="none"/> |
29 <property name="hibernate.show_sql" value="true" /> | 29 <property name="hibernate.show_sql" value="false" /> |
30 <!-- Use a special PostGIS dialect implmented for Lada. This dialect implements an additional integer array type --> | 30 <!-- Use a special PostGIS dialect implmented for Lada. This dialect implements an additional integer array type --> |
31 <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgisDialect"/> | 31 <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgisDialect"/> |
32 </properties> | 32 </properties> |
33 </persistence-unit> | 33 </persistence-unit> |
34 <persistence-unit name="stamm"> | 34 <persistence-unit name="stamm"> |
36 <jta-data-source>java:/jboss/lada-stamm</jta-data-source> | 36 <jta-data-source>java:/jboss/lada-stamm</jta-data-source> |
37 <properties> | 37 <properties> |
38 <!-- The JNDI name for lookups in the application --> | 38 <!-- The JNDI name for lookups in the application --> |
39 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/> | 39 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/> |
40 <!-- Properties for Hibernate --> | 40 <!-- Properties for Hibernate --> |
41 <property name="hibernate.show_sql" value="true" /> | 41 <property name="hibernate.show_sql" value="false" /> |
42 <property name="hibernate.hbm2ddl.auto" value="none"/> | 42 <property name="hibernate.hbm2ddl.auto" value="none"/> |
43 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> | 43 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> |
44 </properties> | 44 </properties> |
45 </persistence-unit> | 45 </persistence-unit> |
46 </persistence> | 46 </persistence> |