moved entities of n:m tables away from ostore caching. no primary key was given....
[mir.git] / source / mircoders / storage / DatabaseContentToMedia.java
index 1569bb4..90854d7 100755 (executable)
@@ -38,6 +38,8 @@ public class DatabaseContentToMedia extends Database implements StorageObject{
     super();
     this.hasTimestamp = false;
     this.theTable="content_x_media";
+    try { this.theEntityClass = Class.forName("mir.entity.GenericEntity"); }
+    catch (Exception e) { throw new StorageObjectException(e.toString()); }
   }
 
   /**
@@ -81,7 +83,7 @@ public class DatabaseContentToMedia extends Database implements StorageObject{
       throw new StorageObjectException("-- hasMedia failed: content is NULL");
     }
   }
-      
+