Re: "failed to provide new primary keys for entity"
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