Propagate primary key turned on for all relationships where the FK is part of the PK?


On Nov 17, 2008, at 10:05 PM, Lachlan Deck wrote:

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 [EMAIL PROTECTED] failed to provide new primary keys for entity 'DiscountConcessionType'

java.lang.IllegalStateException: Adaptor [EMAIL PROTECTED] 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [EMAIL PROTECTED]


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to