comparison src/main/resources/META-INF/persistence.xml @ 353:eefa5e465c2c

Use the hibernate spatial postgis dialect to connect to the database.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 04 Sep 2013 10:40:56 +0200
parents 069cec27c9c6
children
comparison
equal deleted inserted replaced
352:2cb9ee38fd1b 353:eefa5e465c2c
9 <class>de.intevation.lada.model.LProbe</class> 9 <class>de.intevation.lada.model.LProbe</class>
10 <class>de.intevation.lada.model.SNetzBetreiber</class> 10 <class>de.intevation.lada.model.SNetzBetreiber</class>
11 <properties> 11 <properties>
12 <!-- Properties for Hibernate --> 12 <!-- Properties for Hibernate -->
13 <property name="hibernate.show_sql" value="true" /> 13 <property name="hibernate.show_sql" value="true" />
14 <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/> 14 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
15 <property name="hibernate.hbm2ddl.auto" value="none"/> 15 <property name="hibernate.hbm2ddl.auto" value="none"/>
16 </properties> 16 </properties>
17 </persistence-unit> 17 </persistence-unit>
18 </persistence> 18 </persistence>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)