Mercurial > lada > lada-server
view src/main/resources/META-INF/persistence.xml @ 683:1e54d59280e6
Organized imports.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 29 May 2015 13:08:41 +0200 |
parents | e6564d5fdc7a |
children | 46bb231ff9b9 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <persistence-unit name="bund"> <jta-data-source>java:/jboss/lada-bund</jta-data-source> <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/> <!-- Properties for Hibernate --> <property name="hibernate.show_sql" value="false" /> <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgisDialect"/> <property name="hibernate.hbm2ddl.auto" value="none"/> </properties> </persistence-unit> <persistence-unit name="land"> <jta-data-source>java:/jboss/lada-land</jta-data-source> <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/> <property name="hibernate.show_sql" value="true" /> <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgisDialect"/> <property name="hibernate.hbm2ddl.auto" value="none"/> </properties> </persistence-unit> <persistence-unit name="stamm"> <jta-data-source>java:/jboss/lada-stamm</jta-data-source> <properties> <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/> <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> <property name="hibernate.show_sql" value="true" /> <property name="hibernate.hbm2ddl.auto" value="none"/> </properties> </persistence-unit> </persistence>