comparison src/main/resources/META-INF/persistence.xml @ 13:246998056e9b

While autogenerating the model in the last commit, the persistence file was modified and set to a databaseconnection.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 18 Apr 2013 17:00:39 +0200
parents 177351d4cca9
children 823a417cb8e5
comparison
equal deleted inserted replaced
12:658c1de4ff22 13:246998056e9b
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 <!-- If you are running in a production environment, add a managed 8 <!-- If you are running in a production environment, add a managed
9 data source, the example data source is just for development and testing! --> 9 data source, the example data source is just for development and testing! -->
10 <jta-data-source>java:jboss/datasources/ladaDS</jta-data-source> 10 <jta-data-source>java:jboss/datasources/ladaDS</jta-data-source>
11 <class>de.intevation.model.LProbe</class>
11 <properties> 12 <properties>
12 <!-- Properties for Hibernate --> 13 <!-- Properties for Hibernate -->
13 <property name="hibernate.hbm2ddl.auto" value="create-drop" /> 14 <property name="hibernate.hbm2ddl.auto" value="create-drop" />
14 <property name="hibernate.show_sql" value="false" /> 15 <property name="hibernate.show_sql" value="false" />
15 </properties> 16 </properties>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)