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

Re: Failed to get Primary Keys


  • Subject: Re: Failed to get Primary Keys
  • From: Kieran Kelleher <email@hidden>
  • Date: Wed, 24 Mar 2010 13:54:24 -0400

No propogation or multiple PKs here. It has three to-Many relationships. And at the point of creation, this is related to one item in one of the to-Many relationships only. There is no EOF inheritance involved either.

No worries - I was just asking in case it was something someone had solved before. It can go on the list of "Rare Non-repeatable-and-unexplained-errors to Solve Someday". :-)

Thanks, Kieran

On Mar 24, 2010, at 1:13 PM, Mike Schrag wrote:

> multiple pk attributes? there's some related bug that i can't quite remember that has to do with owns destination relationships to objects with multiple pk's ......
>
> On Mar 24, 2010, at 12:41 PM, Kieran Kelleher wrote:
>
>> Occasionally I get this kind of error in production:
>>
>> Caused by: java.lang.IllegalStateException: Adaptor er.extensions.jdbc.ERXJDBCAdaptor@5fd3f561 failed to provide new primary keys for entity 'CTDataRecord'
>>      at com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5885)
>>      at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:409)
>>      at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3226)
>>      at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1085)
>>      at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1007)
>>      at wk.webobjects.eof.ImportEnterpriseObjectData.processFile(ImportEnterpriseObjectData.java:163)
>>      ... 8 more
>>
>> Looking at the jad source does not make me any wiser. I am using latest Wonder and WO 5.3.3.
>>
>> Has anyone else here seen this type of error? Any suggestions how to figure out the root cause?
>>
>> Regards, Kieran _______________________________________________
>> 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
>
>
> _______________________________________________
> 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

 _______________________________________________
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: 
 >Failed to get Primary Keys (From: Kieran Kelleher <email@hidden>)
 >Re: Failed to get Primary Keys (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Failed to get Primary Keys
  • Next by Date: WODisplayGroup selection methods and notification
  • Previous by thread: Re: Failed to get Primary Keys
  • Next by thread: WODisplayGroup selection methods and notification
  • Index(es):
    • Date
    • Thread