Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIbrahim Sallam2010-06-11 14:18:16 +0000
committerIbrahim Sallam2010-06-11 14:18:16 +0000
commit2090c8e565e887e9ef3e1c5a9db09ceb91cadafc (patch)
treee13155eb847244337280e165d15c299e338d95b6
parent0d18471de855c64d2cc303d55b2f1911c04aa050 (diff)
downloadcdo-2090c8e565e887e9ef3e1c5a9db09ceb91cadafc.tar.gz
cdo-2090c8e565e887e9ef3e1c5a9db09ceb91cadafc.tar.xz
cdo-2090c8e565e887e9ef3e1c5a9db09ceb91cadafc.zip
Disabled some debug code to fix the build, until we figure out the oojava_epl.jar generated code issue.
-rw-r--r--plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyObject.java32
1 files changed, 17 insertions, 15 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyObject.java b/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyObject.java
index 3a7d95bffd..d12b30aa18 100644
--- a/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyObject.java
+++ b/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyObject.java
@@ -1057,21 +1057,23 @@ public class ObjyObject
protected void checkSession()
{
- if (TRACER_DEBUG.isEnabled())
- {
- try
- {
- if (!classObject.getPersistor().getSession().isOpen())
- {
- throw new Exception("Attempt to work on an object " + objectId.toString() + " without a trx. [Session: "
- + classObject.getPersistor().getSession() + "]");
- }
- }
- catch (Exception ex)
- {
- ex.printStackTrace();
- } // for debugging.
- }
+ // 100610 - IS: disabled for now, since we have an issue with oojava_epl.jar "getSession()"
+ // is not available.
+ // if (TRACER_DEBUG.isEnabled())
+ // {
+ // try
+ // {
+ // if (!classObject.getPersistor().getSession().isOpen())
+ // {
+ // throw new Exception("Attempt to work on an object " + objectId.toString() + " without a trx. [Session: "
+ // + classObject.getPersistor().getSession() + "]");
+ // }
+ // }
+ // catch (Exception ex)
+ // {
+ // ex.printStackTrace();
+ // } // for debugging.
+ // }
}
/***

Back to the top