I don't know why.... I remove the "thick" Owns destination and propagate key, re-assign it and now it works.

The only thing is I had to "allow null" on the attribute "Qta Iniziale" on the entity ProdottoPrivato..

It's not the "Theorical" way to map a ER to tables... but... I think it can be OK..

Thanks to everybody

Francesco.


On 07/dic/08, at 17:36, Francesco Romano wrote:

Maybe I made something wrong...

This is my "last" version of the model:

Entity Prodotto
<Picture 1.png>

Entity ProdottoPrivato

<Picture 2.png>


Prodotto owns and propagate key to prodottoprivato.

The problem is... Prodotto needs ProdottoPrivato and prodottoPrivato needs prodotto..
So I created a "loop"..

ProdottoPrivato and Prodotto have a 1-to-1 relation
I can't create a Prodottoprivato without a Prodotto, but I want to do the inverse.
The PK of prodottoPrivato is the PK of Prodotto.

I don't know how to manage this..

Francesco

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to