• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Almost SOLVED] Re: One-to-one relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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
References: 
 >Re: One-to-one relationship (From: Francesco Romano <email@hidden>)

  • Prev by Date: Re: Missing ERXApplicationand ERXSession
  • Next by Date: Re: Missing ERXApplicationand ERXSession
  • Previous by thread: Re: One-to-one relationship
  • Next by thread: Re: DirectActions and URL
  • Index(es):
    • Date
    • Thread