Transaction silently rolled back because it has been marked as rollback-only

By | 2020년 4월 24일
Table of Contents

Transaction silently rolled back because it has been marked as rollback-only

참조

globalRollbackOnParticipationFailure

Set whether to globally mark an existing transaction as rollback-only after a participating transaction failed.
참가중인 트랜잭션이 실패한 후에 기존 트랜잭션을 전역적으로 rollback-only로 마킹할 것인지 설정

트랜잭션의 일부가 실패(RuntimeException or Error)하면, 상위에서 try/catch 를 잡는다고 해도 모든 트랜잭션이 롤백됩니다.

답글 남기기