개발/error

javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'remove' call

dev.hong96 2024. 8. 3. 02:14

 

delete에 관한 테스트 케이스를 작성할 때는 @Transactional이 반드시 추가되어야한다.