summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-02-25 04:33:37 (EST)
committerEike Stepper2008-02-25 04:33:37 (EST)
commitd523d60bdf34d0349f497b3bc25960b713663002 (patch)
tree66cb3cc0c67923ef81f20e31a4b2672be50de8ea
parent612ae0556f6ec71dc9b219b8bbef57fd2d8c3e63 (diff)
downloadcdo-d523d60bdf34d0349f497b3bc25960b713663002.zip
cdo-d523d60bdf34d0349f497b3bc25960b713663002.tar.gz
cdo-d523d60bdf34d0349f497b3bc25960b713663002.tar.bz2
[217117] Develop a HibernateStore
https://bugs.eclipse.org/bugs/show_bug.cgi?id=217117
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/CDOIDHibernateImpl.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/CDOIDHibernateImpl.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/CDOIDHibernateImpl.java
index dcf9a60..67c09fc 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/CDOIDHibernateImpl.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/CDOIDHibernateImpl.java
@@ -41,6 +41,8 @@ public class CDOIDHibernateImpl extends AbstractCDOID implements CDOIDHibernate
private static final long serialVersionUID = 1L;
+ private static final Class<?>[] CLASSES = { CDOIDHibernateImpl.class, Legacy.class, SerializableContent.class };
+
private Serializable id;
private String entityName;
@@ -214,6 +216,11 @@ public class CDOIDHibernateImpl extends AbstractCDOID implements CDOIDHibernate
return getClass().getName() + ": " + entityName + " (id:" + id.toString() + ")";
}
+ public static Class<?>[] getClasses()
+ {
+ return CLASSES;
+ }
+
// used for serialization
private static class SerializableContent implements Serializable
{