Composite Key

SpringBoot

JPA OrphanRemoval 사용 시 복합 키 엔터티 삭제 버그

문제 원인 @OneToMany(mappedBy = "recruitmentBusiness", orphanRemoval = true, cascade = [CascadeType.REMOVE]) var needCertificateList: MutableSet = HashSet() protected set @Entity @Table(name = "ceritifcate_usage") @IdClass(CertificateUsageIdClass::class) class CertificateUsage( certificate: Certificate, recruitmentBusiness: RecruitmentBusiness ):BaseTimeEntity(), Persistable, Serializable { @Id @Man..

xlwdn98767
'Composite Key' 태그의 글 목록