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
Envoyé depuis iCloud
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]