2022年7月5日

java spring 事务流程控制包装 transactionscope

摘要: java spring 中 @transactional 导致整个方法都是事务,无法提前 commit,为了缓存同步,需要在 commit 后清空缓存,就办不到了。 因 c# transactionscope 很方便,于是封装了一个线程安全的 java 版的 transactionscope imp 阅读全文

posted @ 2022-07-05 18:16 空明流光 阅读(177) 评论(0) 推荐(0)

导航