Some sence are strange in our project. I should make note.
創(chuàng)新互聯(lián)建站專業(yè)提供西部信息中心服務(wù),為用戶提供五星數(shù)據(jù)中心、電信、雙線接入解決方案,用戶可自行在線購(gòu)買(mǎi)西部信息中心服務(wù),并享受7*24小時(shí)金牌售后服務(wù)。
Has following methods:
ClassA.methodA -- no tranaction
ClassA.methodB -- tranaction REQUIRES
ClassC.methodC -- tranaction REQUIRES
ClassC.methodD -- tranaction REQUIRES_NEW
1. When calls methodB from methodA. the tranaction doesn't work.
2When calls methodB from methodC the tranaction works.
3 When calls methodD from methodB the requires_new doesn't work. it doen't use the new tranaction.
4 the requires_new will create the new session. please make sure you need to use requires_new.
Are the sences above the same are you think?
[@more@]