[Almost SOLVED] Re: One-to-one relationship
[Almost SOLVED] Re: One-to-one relationship
- Subject: [Almost SOLVED] Re: One-to-one relationship
- From: Francesco Romano <email@hidden>
- Date: Mon, 8 Dec 2008 18:13:24 +0100
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden