@Transactional rollback session.save() on exception

后端 未结 0 1107
盖世英雄少女心
盖世英雄少女心 2021-02-20 11:39

I\'ve been testing rollbacks with the @Transactional annotation. If an unchecked exception is thrown, session operations should be rolled back.

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