Home > Back-end >  Springboot with mybatis transaction problem
Springboot with mybatis transaction problem

Time:11-20

Bosses, excuse me,
I use springboot with mybatis operation database, by default mybatis database operation, the transaction is how to manage?

CodePudding user response:

Abnormal rollback

CodePudding user response:

Not ah, my log print was not registered for synchronization because synchronization is not active

CodePudding user response:

reference 1st floor pinoco response:
abnormal rollback


All to manually using the @ Transactional ability to spring management

CodePudding user response:

reference citric acid sweet reply: 3/f
Quote: refer to 1st floor pinoco response:
abnormal rollback


All to manually using the @ Transactional ability to spring management


You don't have to manually, using AOP can section management
  • Related