您好,登錄后才能下訂單哦!
Some sence are strange in our project. I should make note.
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@]免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。