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 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 I "get outside" of Spring's transaction and set up my own
transaction manually?

(More info: I already use hibernate batch, flush and clear. This got my
process down from an hour to 2 minutes, but I still have users hitting the
db during the update and get process deadlocks while updating. Hibernate
flushing hands it off, but Spring is still holding the transaction and not
committing the flushed batches until the entire process is complete.)

Thanks,
-john
--
View this message in context: 
http://www.nabble.com/How-to-create-separate-transaction-from-Spring%27s-tf3469490s2369.html#a9681385
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to