Update of /var/cvs/src/org/mmbase/module/corebuilders
In directory james.mmbase.org:/tmp/cvs-serv6685

Modified Files:
        InsRel.java 
Log Message:
 MMB-1686


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/module/corebuilders
See also: http://www.mmbase.org/jira/browse/MMB-1686


Index: InsRel.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/module/corebuilders/InsRel.java,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- InsRel.java 18 Jul 2008 05:05:43 -0000      1.55
+++ InsRel.java 18 Jul 2008 05:24:02 -0000      1.56
@@ -29,7 +29,7 @@
  *
  * @author Daniel Ockeloen
  * @author Pierre van Rooden
- * @version $Id: InsRel.java,v 1.55 2008/07/18 05:05:43 michiel Exp $
+ * @version $Id: InsRel.java,v 1.56 2008/07/18 05:24:02 michiel Exp $
  */
 public class InsRel extends MMObjectBuilder {
 
@@ -94,6 +94,14 @@
     public InsRel() {
     }
 
+    public void setTableName(String tableName) {
+        super.setTableName(tableName);
+        relatedCache.putCache();
+        // relationsCache.putCache();
+
+    }
+
+
     /**
      * Initializes the builder. Determines whether the <code>dir</code> field 
is defined (and thus whether directionality is supported).
      * If the field cannot be found, a <em>"Warning: No dir field. 
Directionality support turned off."</em> warning message is issued.
@@ -126,8 +134,6 @@
             log.warn("No dir field. Directionality support turned off.");
             usesdir = false;
         }
-        relatedCache.putCache();
-        // relationsCache.putCache();
         return res;
     }
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to