{"componentChunkName":"component---src-templates-post-template-jsx","path":"/errors/2020-08-31--001","result":{"data":{"site":{"siteMetadata":{"title":"Blog by Eunyoung","subtitle":"작업 기록 블로그","copyright":"© All rights reserved.","author":{"name":"EunYoung","twitter":"#"},"disqusShortname":"","url":"https://ssongey.github.io"}},"markdownRemark":{"id":"b2102649-7b5f-589c-8fa3-c66ce68b357d","html":"<h3>문제</h3>\n<p>deleteBy.. 메소드 호출시 오류 발생</p>\n<h3>원인</h3>\n<p><a href=\"https://stackoverflow.com/questions/32269192/spring-no-entitymanager-with-actual-transaction-available-for-current-thread\">https://stackoverflow.com/questions/32269192/spring-no-entitymanager-with-actual-transaction-available-for-current-thread</a></p>\n<h3>해결</h3>\n<p>메소드에 @transaction 을 추가하는 방법으로 해결하였다.<br>\n잘 모르겠는데… JPA delete transaction 을 찾아봐야겠다.</p>","fields":{"tagSlugs":["/tags/java/","/tags/jpa/","/tags/transaction/"],"slug":"/errors/2020-08-31--001"},"frontmatter":{"title":"[JPA] No EntityManager with actual transaction available for current thread","tags":["java","jpa","transaction"],"date":"2020-08-29","description":""}}},"pageContext":{"slug":"/errors/2020-08-31--001"}},"staticQueryHashes":[]}