ObjectStore cache is working with StorableObjectEntities
[mir.git] / source / mir / storage / store / StoreIdentifier.java
index 6c8969b..c9d5094 100755 (executable)
@@ -37,7 +37,7 @@ public class StoreIdentifier {
        public StoreIdentifier(StorableObject reference, int storeType, String uniqueIdentifier) {
     Class theClass;
     if (reference instanceof EntityList)
-      theClass=((EntityList)reference).getEntityClass();
+      theClass=((EntityList)reference).getStorage().getEntityClass();
     else
       theClass=reference.getClass();
     this.uniqueIdentifier=uniqueIdentifier;