@Async and @Transactional: not working

前端 未结 2 1538
孤街浪徒
孤街浪徒 2020-12-31 07:43

Please see code.

  1. When I called the method @Async loadMarkUpPCT(), data is NOT committed into the table. It behaves as if it\'s non-tractional.

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-31 08:19

    Try to also annotate the loadMarkUpPCT() method with @Transactional and tell us if that worked.

提交回复
热议问题