You're also assuming that they're using a properly written TransactionInterceptor. Bottom line, if you apply an interceptor to two different services and one service implementation calls the service, then the interceptor will intercept both method invocations.
-----Original Message----- From: Jean-Francois Poilpret [mailto:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 12:44 PM To: [email protected] Subject: RE: Hivetrance: Does TransactionInterceptor handles all thread services? Hi Aleksej, Yes if you have configured TransactionInterceptor on DAO1 and DAO2 for instance (I take it for granted that the transaction demarcation used in config is "Required"), then if DAO1 calls DAO2, it will work the way you would expect, both calls will be performed in the same transaction. Cheers Jean-Francois -----Original Message----- From: Aleksej [mailto:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 2:28 PM To: [email protected] Subject: Hivetrance: Does TransactionInterceptor handles all thread services? Hi everyone, Perhaps title is a little bit confusing but it was hard to introduce my question in one sentence. I have several services in my application ( DAO mostly ). All of them are configured to use TransactionInterceptor. What will happen if one of them will call another? Will TransactionInterceptor works correctly in such situation? --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
