You may use spring to do the thing you want (springframework.org), it's relative straightforward to do what you want with it, but you may need to change the OpenEntityManagerInView to manage the transactions.
Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco S. On Tue, Nov 11, 2008 at 17:01, David C. Hicks <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to wrap entire web requests with a transaction, so that multiple > calls to different DAO's are all considered part of the same transaction. I > currently have the OpenEntityManagerInView filter set up, and it seems to be > working fine. I thought that might give me what I want, but I have an > Action that calls two different DAO methods, and I can cause data corruption > by creating a failure between the first and second call. Essentially, I'm > not getting a rollback. > > Is there some other filter that will do this? Or, perhaps there's something > else that I'm missing. > > Thanks, > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]