Home > Back-end >  Springboot - @ Transactional transaction problem
Springboot - @ Transactional transaction problem

Time:09-30

I was in the Service layer method in Springboot add @ Transactional annotation is not effective,
Then @ Transactional annotation to the method of the Controller layer, and then call the Service layer method, the transaction will take effect, is this why?
To solve the ~ ~ ~
Attached to the Serivce layer using the @ Transactional annotation log log:
  • Related