End of Distributed Transactions

Do not use instances of the PersistenceManager after calling one of the methods Abort() or Save() of the root object. Calling these methods marks the end of a transaction. Instead obtain a new PersistenceManger instance from the root object. That’s not a limitation of NDO but the operation mode of the Enterprise Services. They automatically clear the root object at the end of the transaction (remember that your context only holds a proxy to the transaction root). After the end of a transaction every following function call into the Proxy of the root object generates a new root object together with a new PersistenceManger.

Important: Existing persistent objects cannot be used with the new PersistenceManager. You have to refetch them.