FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

springboot-learning/springboot-transation-after-commit at master · algorithm001/springboot-learning · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

本文主要演示两种方式进行事务提交后调用的方式

  • 方式一:通过 org.springframework.transaction.support.TransactionSynchronizationManager.registerSynchronization进行实现

  • 方式二:基于事件驱动监听,通过org.springframework.transaction.event.TransactionalEventListener进行实现


Back | FazBrowse Home | New Git URL