summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-05-28 17:06:32 (EDT)
committerEike Stepper2008-05-28 17:06:32 (EDT)
commit5ca016a15efe60dfc5be13cf2c993ce1e6cd8783 (patch)
tree2253cdb6ba5209c7bfa90df7fe54d1e3de880fee
parentea4f6137e89b6955db3356891a102d8f0fbc8c97 (diff)
downloadcdo-5ca016a15efe60dfc5be13cf2c993ce1e6cd8783.zip
cdo-5ca016a15efe60dfc5be13cf2c993ce1e6cd8783.tar.gz
cdo-5ca016a15efe60dfc5be13cf2c993ce1e6cd8783.tar.bz2
[227883] Integrate Hibernate/Teneo into CDO build
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227883
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOInterceptor.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOInterceptor.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOInterceptor.java
index 563ca6b..de72721 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOInterceptor.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOInterceptor.java
@@ -10,7 +10,6 @@
**************************************************************************/
package org.eclipse.emf.cdo.server.internal.hibernate.tuplizer;
-import org.eclipse.emf.cdo.CDOObject;
import org.eclipse.emf.cdo.internal.protocol.revision.InternalCDORevision;
import org.eclipse.emf.cdo.server.internal.hibernate.HibernateUtil;
@@ -32,11 +31,6 @@ public class CDOInterceptor extends EmptyInterceptor
@Override
public String getEntityName(Object object)
{
- if (object instanceof CDOObject)
- {
- return ((CDOObject)object).cdoClass().getName();
- }
-
InternalCDORevision revision = HibernateUtil.getInstance().getCDORevision(object);
return revision.getCDOClass().getName();
}