• 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
EOModler and Multiple Primary Keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOModler and Multiple Primary Keys


  • Subject: EOModler and Multiple Primary Keys
  • From: Owen McKerrow <email@hidden>
  • Date: Wed, 24 May 2006 12:28:13 +1000

Hi All

We are trying to create a EOModel of a 3rd party database which I cannot change.
When modelling the relationship between SubTopicName and TopicName and then trying to save
we get the following error


Relationship TopicName in entity SubTopicName is a to-one relationship, but its destination
attribute(s) does not match the primary key of the destination entity.


We think we have a problem because of the multiple primary keys in the tables for Topic and SubTopicName
Can anyone please help provide a solution to this problem?


Tables and Primary key information and schema is attached.


Attachment: EOModelerProblem.doc
Description: Binary data


Owen McKerrow WebMaster, emlab Ph : +61 02 4221 5517 http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

"I like the way this project has somehow, against all common sense, got itself made."
- Peter Jackson, "The Lord of The Rings"


 _______________________________________________
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

  • Follow-Ups:
    • Re: EOModler and Multiple Primary Keys
      • From: Mark Morris <email@hidden>
    • Re: EOModler and Multiple Primary Keys
      • From: Paul Lynch <email@hidden>
    • Re: EOModler and Multiple Primary Keys
      • From: Ken Anderson <email@hidden>
  • Prev by Date: Deserializers for NSArray, NSDictionary
  • Next by Date: Re: EOModler and Multiple Primary Keys
  • Previous by thread: Re: Deserializers for NSArray, NSDictionary
  • Next by thread: Re: EOModler and Multiple Primary Keys
  • Index(es):
    • Date
    • Thread