ec.saveChanges() throws exception, still saves
ec.saveChanges() throws exception, still saves
- Subject: ec.saveChanges() throws exception, still saves
- From: Ramsey Gurley <email@hidden>
- Date: Tue, 05 Feb 2013 13:55:27 -0700
**** Caught: java.lang.IllegalStateException: incrementSnapshotCountForGlobalID: com.webobjects.eoaccess.EODatabase com.webobjects.eoaccess.EODatabase@74bfd10a -- is unable to increment snapshot count for object with global ID <EOTemporaryGlobalID: 0 0 -64 -88 100 98 0 0 7 -36 1 0 0 0 1 60 -85 -83 -87 -21 79 -127 -20 23> - no snapshot exists
Extra Information:
Actor = No Actor
java.lang.IllegalStateException: incrementSnapshotCountForGlobalID: com.webobjects.eoaccess.EODatabase com.webobjects.eoaccess.EODatabase@74bfd10a -- is unable to increment snapshot count for object with global ID <EOTemporaryGlobalID: 0 0 -64 -88 100 98 0 0 7 -36 1 0 0 0 1 60 -85 -83 -87 -21 79 -127 -20 23> - no snapshot exists
at com.webobjects.eoaccess.EODatabase.incrementSnapshotCountForGlobalID(EODatabase.java:1062)
at com.webobjects.eoaccess.EODatabaseContext.commitChanges(EODatabaseContext.java:6368)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:386)
at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176)
at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
Just wondering about this.. I got an exception saving an ec, but the EOs still managed to save into the db. Is that the rule then? EOGeneralAdaptorException == no save, IllegalStateException or others == save?
Ramsey
_______________________________________________
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