Re: [appfuse-user] How to create separate transaction from Spring's

2007-03-27 Thread Matt Raible
John, Are you using 1.9.0 or 1.9.4? 1.9.0 uses Spring 1.x whereas 1.9.4 uses 2.x. With 2.x, we're using AspectJ's pointcut expression language. To exclude a certain manager from being intercepted by txAdvice, you could change it from: to: HTH, Matt On 3/26/07, dayspringjohn <[EMAIL PROT

Re: [appfuse-user] How to create separate transaction from Spring's

2007-03-26 Thread dayspringjohn
Thanks for the reply. My experience with this setting has been limited to adding or removing the readOnly flag; if you've done this before can you be more specific? Would I use something like PROPAGATION_NESTED or PROPAGATION_REQUIRES_NEW? Will I still have access to a Spring session, just with n

Re: [appfuse-user] How to create separate transaction from Spring's

2007-03-26 Thread Matt Raible
You could change your transaction definition in your bean for this manager by overriding the "transactionAttributes" property. Matt On 3/26/07, dayspringjohn <[EMAIL PROTECTED]> wrote: Hi, Using appfuse 1.9 and struts/hibernate, Spring sets up my transaction, my action calls the manager whic

[appfuse-user] How to create separate transaction from Spring's

2007-03-26 Thread dayspringjohn
Hi, Using appfuse 1.9 and struts/hibernate, Spring sets up my transaction, my action calls the manager which calls the DAO, everything's great. In one case, however, I have a long update process where I need to manage the transaction so I can commit periodically and avoid db deadlocks. How can