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: Johan Henselmans <email@hidden>
- Date: Wed, 24 Feb 2010 21:42:30 +0100
On 24 feb 2010, at 21:04, Johnny Miller wrote:
> OK. There is officially a menehune living in my machine.
>
> Because all of a sudden it just works - with no changes on my part. I've double/triple checked the plists nothing has changed.
>
I have had the same experience, but on a different file: sometimes I change a properties file, I am sure of it, do an ant install, and the old properties file did not get overwritten.
It seems that sometimes the file routines of Mac OS X-Eclipse do not catch all the changes.
Since then I have gotten the habit of making sure that I do a 'clean project' and removing the original install folders in /Library/WebObjects/Applications.
> I'm going to call my local Catholic priest to resolve the issue.
>
>
> On Feb 24, 2010, at 9:08 AM, David Avendasora wrote:
>
>>
>> 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
>>
>>
>
> Johnny Miller
> Kahalawai Media Corp
> http://www.kahalawai.com
>
>
>
> _______________________________________________
> 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
Johan Henselmans
email@hidden
_______________________________________________
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