• 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
failing to provide new primary keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failing to provide new primary keys


  • Subject: failing to provide new primary keys
  • From: Lachlan Deck <email@hidden>
  • Date: Tue, 18 Nov 2008 17:05:45 +1100

Hi there,

I've got one particular entity that's failing to insert. It's a non- flattened join. I've printed out the snapshot prior to saving changes and the relationships have been populated correctly, I've turned on adaptor logging (which gives me nothing) ... all I'm getting is this error.

Any ideas? I've checked the model and can't see any problems.

62855 WARN [WorkerThread2] (soap.controllers.Updating, updateRecords, 375) -
failed to save:Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@15d45d9 failed to provide new primary keys for entity 'DiscountConcessionType'


java.lang.IllegalStateException: Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@15d45d9 failed to provide new primary keys for entity 'DiscountConcessionType'
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.ERXEC._saveChanges(ERXEC.java:962)
at er.extensions.ERXEC.saveChanges(ERXEC.java:885)



with regards, --

Lachlan Deck



_______________________________________________
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: failing to provide new primary keys
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Cannot run any app in development
  • Next by Date: Re: failing to provide new primary keys
  • Previous by thread: Re: Controlling Sessions
  • Next by thread: Re: failing to provide new primary keys
  • Index(es):
    • Date
    • Thread