본문 바로가기

NoTimeForDawdling

검색하기
NoTimeForDawdling
프로필사진 Room_Energy

  • 분류 전체보기 (64)
    • Java (15)
    • SpringBoot (16)
    • DB (9)
    • Effective Java (7)
    • Design Pattern (7)
    • Error (1)
    • JPA (4)
    • Web (3)
    • 운영체제 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
Tags
  • 디자인 패턴
  • 트랜잭션
  • springboot
  • Proxy Patter
  • 데이터베이스
  • Service Locator
  • @SpyBean
  • NotBlank
  • @MockBean
  • JPA
  • Effetive Java
  • FCM
  • NotEmpty
  • multi module
  • SQL 삽입 공격
  • Effective Java
  • 이펙티브 자바
  • 플라이웨이트
  • Web
  • Connection Pool
  • @ControllerAdvice
  • restTemplate
  • Firebase
  • @Valid
  • db
  • deleteById
  • Service Locator 패턴
  • Item04
  • Spring Boot
  • java
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Error (1)

NoTimeForDawdling

[Hibernate] - A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance

특정 Entity의 필드 값으로 List를 들고 있었고, 해당 필드를 업데이트하려고 다음과 같은 에러가 발생했다! A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance 매핑 관계는 다음과 같다. @OneToMany(mappedBy = "product", fetch = EAGER, cascade = CascadeType.ALL, orphanRemoval = true) private List fileList = new ArrayList(); 그리고 문제의 업데이트 코드! private void changeFileList(List fileList) { this.fileList = fi..

Error 2021. 4. 17. 15:26
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바