• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ec.saveChanges() throws exception, still saves
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: ec.saveChanges() throws exception, still saves
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: ERXEnterpriseObjectCache<T> pre-loading cache causes exception
  • Next by Date: Re: ec.saveChanges() throws exception, still saves
  • Previous by thread: Re: NSArray parameter and warning
  • Next by thread: Re: ec.saveChanges() throws exception, still saves
  • Index(es):
    • Date
    • Thread