Notice
Recent Posts
Link
Tags
- 데이터베이스
- hibernate
- spring mvc
- spring boot
- 스프링
- string
- Docker
- DI
- java
- jpa
- ORM
- static
- mysql
- join
- @transactional
- SSL
- select
- nginx
- Django
- 자바
- PYTHON
- spring security 6
- 1차원 배열
- spring
- AWS
- sql
- 문자열
- 프로그래머스
- springboot
- 스프링부트
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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