//
if (status == Status.TRANSIENT) {
parentCtx.addChild(addedCtx);
} else if (status == Status.PERSISTENT) {
Object insertedParent = addedCtx.getParent();
ObjectContext addedParentCtx = session.unwrap(insertedParent);
//
if (addedParentCtx != parentCtx) {
throw new UnsupportedOperationException("Not yet supported but that should be a node move operation");
}