On Mar 24, 2010, at 10:13 AM, Mike Schrag wrote:

multiple pk attributes? there's some related bug that i can't quite remember

Uh oh.  Mike has caught old age too.  I warned you!


that has to do with owns destination relationships to objects with multiple pk's ......

I was thinking the same time: EOF tries to insert the row with propagated keys before the related rows have generated their keys.





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.erxjdbcadap...@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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [email protected]


_______________________________________________
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