I have a classical 3 tier layer web application. My ui layer retrieves a persisted object by id, fills up the entity, pass it the the business layer. The dao can be called by the business layer.
I am using the open view pattern per request so each end of request trigger an flush and a transaction commit. However, in some cases i have some complex validation rule in my business layer to validate my persistent object. If the validation fails I would like to revert all the changes made to the persistent object so that it does not get updated. How can i do that ? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
