I have a model A with list of nodes and model B with a list of nodes .
I take a node in model A and one in model B , i want to set the node id of node in model A as same as in Model B
Currently , i using node.setID() method to set the ID , but it is throwing an exception stating
can't set id to registered node .
Is there any way to do this ?Any help would be really appreciated .Thanks