Fwd: Circular references issue

Armin Waibel <[email protected]>
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <[email protected]>
Hello,

I have a scenario in which there are two classes which reference each
other. Eg. class Drawer references Finish and Finish references Drawer.
When I attempt to persist Drawer instance, an exception is thrown
suggesting that we cannot add or update a child row: a foreign key
reference fails.

Is there a way to correct this problem without changing the Java class
definitions ?

Thanks and Regards,
Gautam.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.