diff --git a/src/helma/objectmodel/db/Node.java b/src/helma/objectmodel/db/Node.java index 5745903e..ec564942 100644 --- a/src/helma/objectmodel/db/Node.java +++ b/src/helma/objectmodel/db/Node.java @@ -111,16 +111,13 @@ public final class Node implements INode, Serializable { public Node(Node home, String propname, WrappedNodeManager nmgr, String prototype) { this.nmgr = nmgr; setParent(home); - - // this.dbmap = null; // generate a key for the virtual node that can't be mistaken for a Database Key primaryKey = new SyntheticKey(home.getKey(), propname); this.id = primaryKey.getID(); this.name = propname; + this.prototype = prototype; this.anonymous = false; - setPrototype(prototype); - // set the collection's state according to the home node's state if (home.state == NEW || home.state == TRANSIENT) { this.state = TRANSIENT;