* Do not register newly created root nodes with the node cache as this may cover

actual root nodes stored in a relational database.
This commit is contained in:
hns 2006-08-10 15:16:01 +00:00
parent 33d59c0c59
commit 8c4273631d

View file

@ -103,7 +103,7 @@ public final class XmlDatabase implements IDatabase {
node.setDbMapping(app.getDbMapping("root")); node.setDbMapping(app.getDbMapping("root"));
insertNode(txn, node.getID(), node); insertNode(txn, node.getID(), node);
// register node with nodemanager cache // register node with nodemanager cache
nmgr.registerNode(node); // nmgr.registerNode(node);
} }
try { try {
@ -113,7 +113,7 @@ public final class XmlDatabase implements IDatabase {
node.setDbMapping(app.getDbMapping("__userroot__")); node.setDbMapping(app.getDbMapping("__userroot__"));
insertNode(txn, node.getID(), node); insertNode(txn, node.getID(), node);
// register node with nodemanager cache // register node with nodemanager cache
nmgr.registerNode(node); // nmgr.registerNode(node);
} }
commitTransaction(txn); commitTransaction(txn);