r6939 - dumbhippo/trunk/server/src/com/dumbhippo/server/impl



Author: walters
Date: 2007-11-28 14:12:03 -0600 (Wed, 28 Nov 2007)
New Revision: 6939

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/server/impl/HttpMethodsBean.java
Log:
Init data model session in addition to creating transactions for admin shell.



Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/impl/HttpMethodsBean.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/impl/HttpMethodsBean.java	2007-11-28 01:19:33 UTC (rev 6938)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/impl/HttpMethodsBean.java	2007-11-28 20:12:03 UTC (rev 6939)
@@ -1380,6 +1380,7 @@
 			Object result;
 			if (transaction) {
 				result = TxUtils.runInTransaction(execution);
+				DataService.getModel().initializeReadWriteSession(SystemViewpoint.getInstance());
 			} else {
 				result = execution.call();
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]