Zero to Hero
Published 2021. 10. 31. 11:26
JPA FlushModeType, Nested @Transactional Shorts

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

 

(JPA) persist vs merge

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

perfectacle.github.io

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

 

JPA Flush

 

junhyunny.github.io

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

 

'Shorts' 카테고리의 다른 글

Optimization for String Concatenation  (0) 2021.11.01
InnoDB Isolation Level, Lock, JPA Lock Strategy  (0) 2021.10.31
IntegerCache  (0) 2021.08.17
profile

Zero to Hero

@Doljae

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!