spring Cglib is useful but a class @Transactional don't proxy

Don’t know how the transaction doesn’t work, I will struggle for a long time, tried a variety of solutions, found that is not being dynamic proxy, so @ Transactional didn’t work

這裏寫圖片描述

這裏寫圖片描述

And then do a complete copy for UserService to UserService2

這裏寫圖片描述

這裏寫圖片描述

Go against the problem of present in front of the lack of experience a rookie, kneel down! For help

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章