commented out cache initialization until it works properly.
authormh <mh>
Thu, 7 Feb 2002 10:21:49 +0000 (10:21 +0000)
committermh <mh>
Thu, 7 Feb 2002 10:21:49 +0000 (10:21 +0000)
source/mircoders/storage/DatabaseBreaking.java
source/mircoders/storage/DatabaseComment.java
source/mircoders/storage/DatabaseFeature.java
source/mircoders/storage/DatabaseLinksImcs.java
source/mircoders/storage/DatabaseMedia.java
source/mircoders/storage/DatabaseMediaType.java
source/mircoders/storage/DatabaseMediafolder.java
source/mircoders/storage/DatabaseMessages.java
source/mircoders/storage/DatabaseTopics.java

index e01dd06..20c8940 100755 (executable)
@@ -32,7 +32,7 @@ public class DatabaseBreaking extends Database implements StorageObject{
   private DatabaseBreaking() throws StorageObjectException
   {
     super();
-    this.cache = new DatabaseCache(4);
+    //this.cache = new DatabaseCache(4);
     this.theTable="breaking";
     try {
       this.theEntityClass = Class.forName("mircoders.entity.EntityBreaking");
index 120ff92..2b8108c 100755 (executable)
@@ -34,7 +34,7 @@ public class DatabaseComment extends Database implements StorageObject{
        {
                super();
                this.hasTimestamp = false;
-               //this.cache = new HashMap();
+               ////this.cache = new HashMap();
                this.theTable="comment";
                try {
                        this.theEntityClass = Class.forName("mircoders.entity.EntityComment");
index 201e931..c907167 100755 (executable)
@@ -32,7 +32,7 @@ public class DatabaseFeature extends Database implements StorageObject{
   private DatabaseFeature() throws StorageObjectException
   {
     super();
-    this.cache = new DatabaseCache(10);
+    //this.cache = new DatabaseCache(10);
     this.hasTimestamp = false;
     this.theTable="feature";
 
index 06c75e6..d69687c 100755 (executable)
@@ -38,7 +38,7 @@ public class DatabaseLinksImcs extends Database
   private DatabaseLinksImcs () throws StorageObjectException
   {
     super();
-    //this.cache = new HashMap();
+    ////this.cache = new HashMap();
     this.hasTimestamp = false;
     this.theTable = "links_imcs";
     try {
index de43602..6d1cf6b 100755 (executable)
@@ -33,7 +33,7 @@ public class DatabaseMedia extends Database implements StorageObject{
   private DatabaseMedia() throws StorageObjectException
   {
     super();
-    this.cache = new DatabaseCache(100);
+    //this.cache = new DatabaseCache(100);
     this.hasTimestamp = false;
     this.theTable="media*";
     relationMediaType = new EntityRelation("to_media_type", "id", DatabaseMediaType.getInstance(), EntityRelation.TO_ONE);
index 71d1273..8d68ac4 100755 (executable)
@@ -34,7 +34,7 @@ public class DatabaseMediaType extends Database implements StorageObject{
   {
     super();
     this.hasTimestamp = false;
-    this.cache = new DatabaseCache(20);
+    //this.cache = new DatabaseCache(20);
     this.theTable="media_type";
     try {
       this.theEntityClass = Class.forName("mir.entity.GenericEntity");
index 6f52fc0..a3f92be 100755 (executable)
@@ -38,7 +38,7 @@ public class DatabaseMediafolder extends Database implements StorageObject{
   {
     super();
     this.hasTimestamp = false;
-    this.cache = new DatabaseCache(20);
+    //this.cache = new DatabaseCache(20);
     this.theTable="media_folder";
   }
 
index ad963ad..dc5116c 100755 (executable)
@@ -37,7 +37,7 @@ public class DatabaseMessages extends Database implements StorageObject{
   private DatabaseMessages() throws StorageObjectException
   {
     super();
-    this.cache = new DatabaseCache(10);
+    //this.cache = new DatabaseCache(10);
     this.theTable="messages";
   }
 
index c36a9cb..3fc0885 100755 (executable)
@@ -32,7 +32,7 @@ public class DatabaseTopics extends Database implements StorageObject{
   private DatabaseTopics() throws StorageObjectException
   {
           super();
-      this.cache = new DatabaseCache(20);
+      //this.cache = new DatabaseCache(20);
       this.hasTimestamp = false;
       this.theTable="topic";
       try {