|
From: <jg...@us...> - 2006-10-24 15:28:31
|
Revision: 87
http://svn.sourceforge.net/surveyforge/?rev=87&view=rev
Author: jgongo
Date: 2006-10-24 08:28:17 -0700 (Tue, 24 Oct 2006)
Log Message:
-----------
Changed name of persistence unit
Modified Paths:
--------------
trunk/surveyforge-runner/src/main/java/org/surveyforge/runner/QuestionnaireRunner.java
trunk/surveyforge-runner/src/main/resources/META-INF/persistence.xml
Modified: trunk/surveyforge-runner/src/main/java/org/surveyforge/runner/QuestionnaireRunner.java
===================================================================
--- trunk/surveyforge-runner/src/main/java/org/surveyforge/runner/QuestionnaireRunner.java 2006-10-24 15:12:50 UTC (rev 86)
+++ trunk/surveyforge-runner/src/main/java/org/surveyforge/runner/QuestionnaireRunner.java 2006-10-24 15:28:17 UTC (rev 87)
@@ -64,7 +64,7 @@
Frame frame = null;
try
{
- EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory( "hivudvp" );
+ EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory( "surveyforge" );
entityManager = entityManagerFactory.createEntityManager( );
entityManager.setFlushMode( FlushModeType.COMMIT );
transaction = entityManager.getTransaction( );
Modified: trunk/surveyforge-runner/src/main/resources/META-INF/persistence.xml
===================================================================
--- trunk/surveyforge-runner/src/main/resources/META-INF/persistence.xml 2006-10-24 15:12:50 UTC (rev 86)
+++ trunk/surveyforge-runner/src/main/resources/META-INF/persistence.xml 2006-10-24 15:28:17 UTC (rev 87)
@@ -2,7 +2,7 @@
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
- <persistence-unit name="hivudvp">
+ <persistence-unit name="surveyforge">
<class>org.surveyforge.util.InternationalizedString</class>
<class>org.surveyforge.classification.Family</class>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|