I'm working on code that does groups and user management. The objective is to add and remove user from a group. When the administrator of the group is done they have the ability to either commit the users to the group or cancel.
Technology Being Used:
I'm using Spring in conjunction with iBATIS. For backend database I am using Oracle.
What I would like to do is wrap all the activities of the administrator in one big transaction. Mind you that the administration page has many iFrames with their own Spring controllers. When the administrator is satisfied he/she can clicks Apply Changes and the transaction is committed to the database. If he clicks cancel, the transaction is rolled back. I want session level view of the current data in the database. Is this possible with Spring and iBATIS?
I have tried quite a lot of things including using ThreadLocal session variable in my target/manager class but nothing seems to work. If you have an alternative solution that you would like to recommend I’d love to hear it. Essentially what I want is something akin to Hibernates session view. Maybe even user save points? Are save points possible with Spring and iBATIS?