openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivasan Krishnamoorthy <>
Subject Maintaining foreign key relation in Unidirectional ManyToOne
Date Wed, 14 Oct 2009 14:24:44 GMT

 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
Can you please let me know a way to do this with JPA?

Best Regards,
Srinivasan Krishnamoorthy.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message