Notice
Recent Posts
Link
Tags
- select
- 스프링부트
- SSL
- spring
- static
- springboot
- java
- AWS
- sql
- spring boot
- jpa
- DI
- spring mvc
- 데이터베이스
- Django
- nginx
- 문자열
- 자바
- Docker
- spring security 6
- hibernate
- string
- mysql
- @transactional
- join
- ORM
- 1차원 배열
- 스프링
- 프로그래머스
- PYTHON
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
목록transaction (1)
개발하는 자몽
[JPA Error] No EntityManager with actual transaction available for current thread - cannot reliably process 'flush' call
에러 원인정말... 바보같은... 실수였다... 오류가 났던 테스트 코드는 아래와 같다. ... @PersistenceContext EntityManager em; @Test void test() { UserEntity userEntity = UserEntity.builder() .nickname("test") .email("test@example.com") .build(); userEntity = userRepository.save(userEntity); userService.sumTotalAmount(userEntity, 10_000L); ..
Java & Kotlin/Spring
2024. 10. 23. 20:04