In your DAO layer you can commit a transaction, but I'm not sure how you would 
do it in a manager...

If you are using Hibernate take a look at the use of 
getHibernateTamplate().flush() in UserDAOHibernate as an example.

  http://tinyurl.com/3extrj

Nathan


----- Original Message -----
From: "clcox30" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, May 11, 2007 6:27:11 AM (GMT-0800) America/Los_Angeles
Subject: [appfuse-user] Transactions in Spring


I have two manager classes, the first calls the second and the second manager
class makes an external call.   Before this external call I want to commit
the current transaction.   There is no situation where a rollback should
occur once the external call is made since I need a record of the data
submitted to the external entity whatever the response is, or even if there
isn't a response.   

I am using Spring MVC.  Is there a recommended approach that would allow me
to commit within a method?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Transactions-in-Spring-tf3727425s2369.html#a10431900
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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]

Reply via email to