Notice
														
												
											
												
												
													Recent Posts
													
											
												
												
													Link
													
											
									
													Tags
													
											
												
												- 프로그래머스
 - mysql
 - select
 - java
 - SSL
 - Django
 - sql
 - DI
 - 1차원 배열
 - AWS
 - springboot
 - PYTHON
 - spring
 - spring boot
 - spring mvc
 - 스프링
 - 문자열
 - ORM
 - static
 - nginx
 - 자바
 - hibernate
 - @transactional
 - jpa
 - spring security 6
 - join
 - string
 - 데이터베이스
 - 스프링부트
 - Docker
 
| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 
| 23 | 24 | 25 | 26 | 27 | 28 | 29 | 
| 30 | 
													Archives
													
											
									목록TransactionRequiredException (1)
개발하는 자몽
			
			
				[Spring Data JPA] TransactionRequiredException
				
	
	
               
           
					
					
					
					
					
					
						
					
				아래 블로그 글을 참고하여 정리했습니다. Spring DeleteAllBy...In 호출시 에러 ( TransactionRequiredException ) 문제 상황 : deleteAllByIdxIn 호출 시 entitymanager가 왜 없을까? JPA OSIV라면 기본적으로 트랜잭션 범위는 서비스 단까지 있을테고, entity manager는 생성됐을 것이다. 그런데 왜 아래와 같은 에러가 났을까 happyer16.tistory.com 상황 에러 문구 javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably proce..
				Java & Kotlin/Spring
				
				2023. 8. 19. 16:25