Hi,
 I have a manyToOne relation which is unidirectional.
For example, say Student and College. Student has manyToOne relation with
college. But College do not have OneToMany with Student. 
Here, if I delete College, I want all the students belonging to it be
deleted.
Can you please let me know a way to do this with JPA?

Best Regards,
Srinivasan Krishnamoorthy.

-- 
View this message in context: 
http://n2.nabble.com/Maintaining-foreign-key-relation-in-Unidirectional-ManyToOne-tp3823080p3823080.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to