JPA not generating “on delete set null” FK restrictions

前端 未结 5 617
[愿得一人]
[愿得一人] 2021-01-04 19:11

I have two related clases JPA-annotated. Alarm and Status. One Alarm can have one Status.

What I need is to be able to delete one Status and \"propagate\" a null v

5条回答
  •  时光取名叫无心
    2021-01-04 19:41

    Don't know about other non-hibernate implementations, but here is a JIRA issue I've been following about this in Hibernate...

    http://opensource.atlassian.com/projects/hibernate/browse/HHH-2707

提交回复
热议问题