Hi folks,
I have some situations in one of my apps where objects are auto committed, mainly because I have an initiated object and the user adds new objects in a datagrid over Xpath or database. Example, create a new invoice and add invoice lines. I do not want to use over association because then an invoice line is deleted when you press the cancel button.
Why are auto committed objects visibile to other users? This seems to be pretty dangerous. Wouldn't it be better to hide auto committed objects from other users until they are committed.
I sometimes get errors that auto committed objects existed when the user logged out. All objects are rollbacked where possible but it is not possible to rollback your object when you press a menu item, browser back button or the sign-out button. How do you guys solve this?