Spring Transactions with Executor

后端 未结 0 649
清酒与你
清酒与你 2021-01-13 14:43

I have a method something like:

@Transactional

public void method1() {
    taskExecutor.execute() -> {

        // do work here

    }
}

相关标签:
回答
  • 消灭零回复
提交回复
热议问题