Hello,

Yes another question again.

I have a class Area that is referencing a class Point, and Area has a
foreign key constraint on Point.
I'am using ODMG, and i would like OJB to delete the Point when i delete the
Area. What happens is that when i commit a
transaction for removing an Area, OJB is trying to remove the Point but of
course it can't because the foreing key constraint is
violated as the Area is still referencing the point. So i suppose the Area
should be removed first for this to work. Do you think it can
be a bug ? Do i have to manually unreference the point somewhere ?

Thank you.

Jean-Yves

P.S.:

I'am not a foreign key constraint expert, but i tried to use deferrable=true
for this constraint and it does not work neither.

Reply via email to