ITransactionManager appears to have no effect on ability to rollback changes.
I need to remove a Product Instance which may have Relationships and be in another Part’s BOM. In order to call delete() on the PI, the Relationships much be removed first, however if the PI is on another Part’s BOM, the delete fails to delete. However, the Relationships have been removed.
I wanted to use the Transaction Management to rollback the Relationship change, however, it appears to have no effect on setting values, changing relationships or modifying any object what so ever.
The code is quite simple:
ITransactionManager mgr = session.getTransactionManager();
The value of the object for KEY is still VALUE. I have tried every way to use the transaction manager but it never rolls back the data.
Any advice on how to overcome a Chicken and Egg situation?
Is there any way to escalaste this? It is a severe roadblock for us as it prevents us from ensuring data integrity.