skip to Main Content

Postgresql – Cascade Delete in JPA Failing

I am using Java, Spring and JPA and cannot get cascade deletion to work. I have a class Tenant that looks like this @Entity @Validated @Data @Builder @NoArgsConstructor @AllArgsConstructor @TenantConstraints public class Tenant { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator =…

VIEW QUESTION
Back To Top
Search