• 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: Mike Schrag <email@hidden>
  • Date: Wed, 24 Mar 2010 13:13:30 -0400

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

  • Follow-Ups:
    • Re: Failed to get Primary Keys
      • From: Kieran Kelleher <email@hidden>
    • Re: Failed to get Primary Keys
      • From: Chuck Hill <email@hidden>
References: 
 >Failed to get Primary Keys (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Failed to get Primary Keys
  • Next by Date: Re: Failed to get Primary Keys
  • Previous by thread: Failed to get Primary Keys
  • Next by thread: Re: Failed to get Primary Keys
  • Index(es):
    • Date
    • Thread