ec.saveChanges in repartition table
ec.saveChanges in repartition table
- Subject: ec.saveChanges in repartition table
- From: Raymond NANEON <email@hidden>
- Date: Thu, 04 Sep 2014 06:27:59 +0000 (GMT)
Hello List,
I have an issue with a primary key on a repartition table. Indeed, the primary key for this table has two foreign keys. When I save the data in the repartition table through ec.saveChanges, I have this error directly:
sept. 03 16:20:00 PreProjets[8484] DEBUG er.eo.ERXGenericRecord - EditingContextWillSaveChanges: done calling will*
java.lang.IllegalStateException: Adaptor er.extensions.jdbc.ERXJDBCAdaptor@12e84396 failed to provide new primary keys for entity 'FwkProjetsAdmrec_RepartPprecParamOrdre'
at com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
I don't understand why ERXGenericRecord want to create a new pk? I missed a setting in my eomdel ...
Thanks for help
_______________________________________________
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