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