Some sence are strange in our project. I should make note.
創新互聯建站專業提供西部信息中心服務,為用戶提供五星數據中心、電信、雙線接入解決方案,用戶可自行在線購買西部信息中心服務,并享受7*24小時金牌售后服務。
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@]
網站欄目:ThesenceaboutTransactioninSpring
網頁URL:http://vcdvsql.cn/article24/iijoce.html
成都網站建設公司_創新互聯,為您提供響應式網站、網站收錄、云服務器、網站內鏈、網站策劃、企業網站制作
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯