Hi Marco,
Thank you for advice, I'll try annotation. But I need time to learn it. At
meanwhile, assuming Credit is owning side and Client is parent, is this
constraint actually valid? I think this DDL makes Client entity as owning
side and Credit as parent? No?
And with the first DDL I gave before, I tought both entities are parent of
each other?! Or I did not understand something?

ALTER TABLE clients ADD CONSTRAINT FK_7996BA0019EB6921 FOREIGN KEY
(client_id) REFERENCES credits (client_id) ON DELETE CASCADE;

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to