hi,
Might be an old topic, but could not find a solution for the same. Have one column which is a foreign key of two table of which one is self referenced. It works fine when I remove not-null="true" & update = "false" with the downside that it first inserts & then update which is how it should work.
But the other problem is that the foreign key column is an index column & hence throws a unique exception as first parent id is null?
I have not kept many-to-one relationship as is is not there in the object structure.
Is there a way to resolve this? Some pointers to the problem would be great.
Thanks Vishal
|