Doubt in Versioning

2007-12-08 Thread Sridhar Raman
This is what I have figured out from reading the documentation, and testing: The following code, Node A = root.addNode(NODEA, ATYPE); A.checkout(); A.setProperty(PROP1, some value); A.save(); A.checkin(); creates a version for the node A, and currently the node is in a read-only status. Now if

Re: Doubt in Versioning

2007-12-08 Thread Tobias Bocanegra
hi, what you want is 'Node.restore()'. checkout just makes as checked-in node modifiable. in your example the 2nd checkout has no effect since the node is already checked out. regards, toby On 12/8/07, Sridhar Raman [EMAIL PROTECTED] wrote: This is what I have figured out from reading the