{"id":763,"date":"2020-04-24T17:57:06","date_gmt":"2020-04-24T08:57:06","guid":{"rendered":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=763"},"modified":"2020-04-24T17:59:13","modified_gmt":"2020-04-24T08:59:13","slug":"transaction-silently-rolled-back-because-it-has-been-marked-as-rollback-only","status":"publish","type":"post","link":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=763","title":{"rendered":"Transaction silently rolled back because it has been marked as rollback-only"},"content":{"rendered":"<h1>Transaction silently rolled back because it has been marked as rollback-only<\/h1>\n<p><a href=\"https:\/\/woowabros.github.io\/experience\/2019\/01\/29\/exception-in-transaction.html\">\ucc38\uc870<\/a><\/p>\n<h2>globalRollbackOnParticipationFailure<\/h2>\n<blockquote>\n<p>Set whether to globally mark an existing transaction as rollback-only after a participating transaction failed.<br \/>\n\ucc38\uac00\uc911\uc778 \ud2b8\ub79c\uc7ad\uc158\uc774 \uc2e4\ud328\ud55c \ud6c4\uc5d0 \uae30\uc874 \ud2b8\ub79c\uc7ad\uc158\uc744 \uc804\uc5ed\uc801\uc73c\ub85c rollback-only\ub85c \ub9c8\ud0b9\ud560 \uac83\uc778\uc9c0 \uc124\uc815<\/p>\n<\/blockquote>\n<p>\ud2b8\ub79c\uc7ad\uc158\uc758 \uc77c\ubd80\uac00 <code>\uc2e4\ud328(RuntimeException or Error)<\/code>\ud558\uba74, \uc0c1\uc704\uc5d0\uc11c <code>try\/catch<\/code> \ub97c \uc7a1\ub294\ub2e4\uace0 \ud574\ub3c4 \ubaa8\ub4e0 \ud2b8\ub79c\uc7ad\uc158\uc774 \ub864\ubc31\ub429\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Transaction silently rolled back because it has been marked as rollback-only \ucc38\uc870 globalRollbackOnParticipationFailure Set whether to globally mark an existing transaction as rollback-only after a participating transaction failed. \ucc38\uac00\uc911\uc778 \ud2b8\ub79c\uc7ad\uc158\uc774 \uc2e4\ud328\ud55c \ud6c4\uc5d0 \uae30\uc874 \ud2b8\ub79c\uc7ad\uc158\uc744 \uc804\uc5ed\uc801\uc73c\ub85c rollback-only\ub85c \ub9c8\ud0b9\ud560 \uac83\uc778\uc9c0 \uc124\uc815 \ud2b8\ub79c\uc7ad\uc158\uc758 \uc77c\ubd80\uac00 \uc2e4\ud328(RuntimeException or Error)\ud558\uba74, \uc0c1\uc704\uc5d0\uc11c try\/catch \ub97c \uc7a1\ub294\ub2e4\uace0 \ud574\ub3c4 \ubaa8\ub4e0 \ud2b8\ub79c\uc7ad\uc158\uc774 \ub864\ubc31\ub429\ub2c8\ub2e4.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-763","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=763"}],"version-history":[{"count":2,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":765,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/763\/revisions\/765"}],"wp:attachment":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}