Author: toad
Date: 2009-02-20 20:51:04 +0000 (Fri, 20 Feb 2009)
New Revision: 25752
Modified:
branches/db4o/freenet/src/freenet/node/Node.java
Log:
cascadeOnDelete on FetchException's, apparently necessary to get the
StackTraceException's deleted
Modified: branches/db4o/freenet/src/freenet/node/Node.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/Node.java 2009-02-20 20:50:14 UTC
(rev 25751)
+++ branches/db4o/freenet/src/freenet/node/Node.java 2009-02-20 20:51:04 UTC
(rev 25752)
@@ -838,6 +838,7 @@
dbConfig.objectClass(freenet.support.io.PersistentBlobTempBucketTag.class).objectField("bucket").indexed(true);
dbConfig.objectClass(freenet.support.io.PersistentBlobTempBucketTag.class).objectField("factory").indexed(true);
dbConfig.objectClass(freenet.support.io.PersistentBlobTempBucketTag.class).objectField("isFree").indexed(true);
+
dbConfig.objectClass(freenet.client.FetchException.class).cascadeOnDelete(true);
/*
* HashMap: don't enable cascade on update/delete/activate,
db4o handles this
* internally through the TMap translator.
@@ -913,7 +914,7 @@
}
// Activated to depth 1
try {
- Logger.minor(this, "DATABASE: "+o);
+ Logger.minor(this, "DATABASE:
"+o.getClass()+":"+o+":"+db.ext().getID(o));
} catch (Throwable t) {
Logger.minor(this, "CAUGHT "+t);
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs