ThesenceaboutTransactioninSpring

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
本文网址:http://csruizhi.cn/article/iijoce.html

其他资讯

Copyright © 2007-2024 成都优众联杰科技有限公司 All Rights Reserved 蜀ICP备2024116266号
友情链接: 成都网站建设 高端网站设计 企业网站设计 成都网站制作 网站制作公司 成都网站制作 成都网站建设 定制网站设计 网站建设 成都网站建设 成都网站建设 成都网站建设 高端网站建设 成都网站建设 手机网站设计 成都企业网站制作 网站建设 成都网站设计 自适应网站建设 成都网站建设 成都网站建设公司 成都网站设计