본문으로 건너뛰기

JPA FlushModeType, Nested @Transactional

· 약 1분
Seokjae Lee
Software engineer

원문: https://doljae.tistory.com/267

https://perfectacle.github.io/2021/06/13/entity-manager-persist-vs-merge/

 [(JPA) persist vs merge

들어가기에 앞서글을 정리하다 보니 너무 깊게 파고 정리한 거 같아 글이 너무 길어져서 아무도 읽지 않을 것 같아 정리부터 해보겠습니다. 엔티티 매니저의 persist 메서드는 리턴값이 없기 때문

perfectacle.github.io](https://perfectacle.github.io/2021/06/13/entity-manager-persist-vs-merge/)

https://junhyunny.github.io/spring-boot/jpa/junit/jpa-flush/

 [JPA Flush

junhyunny.github.io](https://junhyunny.github.io/spring-boot/jpa/junit/jpa-flush/)

https://stackoverflow.com/questions/37217075/spring-nested-transactions

 [Spring nested transactions

In my Spring Boot project I have implemented following service method: @Transactional public boolean validateBoard(Board board) { boolean result = false; if (inProgress(board)) { i...

stackoverflow.com](https://stackoverflow.com/questions/37217075/spring-nested-transactions)