We have a java backed upload webscript which creates a versionable node. I am having trouble finding a way to read the versionLabel property on the node which was just created. I get null for versionLabel on node creation and versionLabel is behind one version on node updates.
It appears to me that version is created after the transaction is committed. Transaction is only committed after the response was sent back. How can we retrieve the version number right after creating a node?