changeset 309:e91873b8b937

Bugfix: Call correct method to retrieve and initialize an instance of SessionFactoryProvider. flys-artifacts/trunk@1690 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 14 Apr 2011 12:59:21 +0000
parents 084995dd1c9c
children 6d2c8915e22c
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Apr 14 12:08:47 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Apr 14 12:59:21 2011 +0000
@@ -1,3 +1,9 @@
+2011-04-14  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
+	  Bugfix: Call correct method to retrieve an instance of
+	  SessionFactoryProvider.
+
 2011-04-14	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java	Thu Apr 14 12:08:47 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java	Thu Apr 14 12:59:21 2011 +0000
@@ -25,7 +25,7 @@
     public synchronized static Session create() {
         logger.debug("create");
         SessionFactory sessionFactory =
-            SessionFactoryProvider.createSessionFactory();
+            SessionFactoryProvider.getSessionFactory();
         return sessionFactory.openSession();
     }
 

http://dive4elements.wald.intevation.org