>> But the _fastHashRemove() method seems to be wrong. It doesn't set _lastGID 
>> to null. This means, I could insert(valueA, keyA), then remove(keyB) and 
>> then get(keyA) would return null instead of valueA?
> 
> That's something I can observe from time to time in my apps where I get 
> errors like
> 
> java.lang.IllegalStateException: rowDiffsForAttributes: snapshot in 
> com.webobjects.eoaccess.EODatabaseOperation {_dbSnapshot = {}; _entity = 
> <snip> _databaseOperator = "EODatabaseUpdateOperator"; } does not contain 
> value for attribute named catalogID with snapshot key: catalogID
> 
> though all other values are present just that one 'catalogID' does not appear 
> anymore. I never found why this happens but your explanation could fit that 
> situation well.
I don't think you're seeing that particular cause ... There are lots of 
different ways what you're seeing could happen, but the scenario described 
above doesn't actually occur inside of EODatabase. It's a hypothetical that 
COULD happen of someone was not careful calling those internal APIs, but I 
don't see any calls that do it wrong.

ms
 _______________________________________________
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