• 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
Re: "failed to provide new primary keys for entity"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "failed to provide new primary keys for entity"


  • Subject: Re: "failed to provide new primary keys for entity"
  • From: David Avendasora <email@hidden>
  • Date: Wed, 24 Feb 2010 14:08:28 -0500

On Feb 24, 2010, at 2:02 PM, Chuck Hill wrote:

>
> On Feb 24, 2010, at 10:53 AM, Johnny Miller wrote:
>
>> Hi,
>>
>> I'm still stuck >:(
>>
>> I thought this information might be helpful.
>>
>> If I do a System.out on entity.primaryKeyAttributeNames()  I see the right keys.
>>
>> If I System.out on the relationships I can see they are properly set and not null.
>>
>> Yet, if I System.out on entity.primaryKey I get a return of null.
>>
>> Could this be a bug in the MySQL plugin?
>
> It is almost certainly a defect in your model.

+ 1

Can you paste the contents of the plist files (or attache the plist files themselves) for all the entities involved in the relationships?

I've had times where everything looks fine in Entity Modeler, but the plists have problems.

Dave


 _______________________________________________
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: "failed to provide new primary keys for entity"
      • From: Johnny Miller <email@hidden>
    • Re: "failed to provide new primary keys for entity"
      • From: Johnny Miller <email@hidden>
References: 
 >"failed to provide new primary keys for entity" (From: Johnny Miller <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Don Lindsay <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Johnny Miller <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Kieran Kelleher <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Johnny Miller <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Chuck Hill <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Johnny Miller <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Chuck Hill <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Johnny Miller <email@hidden>)
 >Re: "failed to provide new primary keys for entity" (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: "failed to provide new primary keys for entity"
  • Next by Date: Re: "failed to provide new primary keys for entity"
  • Previous by thread: Re: "failed to provide new primary keys for entity"
  • Next by thread: Re: "failed to provide new primary keys for entity"
  • Index(es):
    • Date
    • Thread