unique « Cascade « JPA Q&A





1. many-to-one unique, cascade setting?    forum.hibernate.org

Hello; I understand what both cascade and not-null do. My question is based on the fact that HIA uses just one and the online docs use just the other. So I am wondering why? My guess is that both usually make sense in a case like this - but then would both samples use both? So my question is why was ...