Hi all,
I want to manage the transactions and I wonder if I can do this via hibernate classes only.
for each user source operation, I create a transaction and add this to the transaction pool but I do not commit the transaction until the user press
"commit changes".
So far so good, after user commits changes, then click
"rollback changes", I iterate transaction pool and call their rollbacks.
Still so far so good, but in that rollback operation , I have to "rollback" some extra work I did programatically, thus I need the "operated object new state" , "operated object old state" and the "operation type".
Can I get this data from hibernate? I dont want to keep extra hashmaps for transaction-operation pairs to use in rollbacks.
_________________ -developer
|