Use "Root" rather than "root" as prototype when creating a root object in the
embedded database.
This commit is contained in:
parent
a556621554
commit
5a58a5ba8a
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ public final class NodeManager {
|
||||||
node = (Node) db.getNode(txn, "0");
|
node = (Node) db.getNode(txn, "0");
|
||||||
node.nmgr = safe;
|
node.nmgr = safe;
|
||||||
} catch (ObjectNotFoundException notfound) {
|
} catch (ObjectNotFoundException notfound) {
|
||||||
node = new Node("root", "0", "root", safe);
|
node = new Node("root", "0", "Root", safe);
|
||||||
node.setDbMapping(app.getDbMapping("root"));
|
node.setDbMapping(app.getDbMapping("root"));
|
||||||
db.saveNode(txn, node.getID(), node);
|
db.saveNode(txn, node.getID(), node);
|
||||||
registerNode(node); // register node with nodemanager cache
|
registerNode(node); // register node with nodemanager cache
|
||||||
|
|
Loading…
Add table
Reference in a new issue