* 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:
parent
33d59c0c59
commit
8c4273631d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue