Could there be some place in your code that is changing type between Integer and Long? EOF would see that as a value change, though the value logged would appear the same.
Chuck From: Webobjects-dev <webobjects-dev-bounces+chill=gevityinc....@lists.apple.com> on behalf of "ocs@ocs" <o...@ocs.cz> Date: Tuesday, August 14, 2018 at 10:26 AM To: "webobjects-dev@lists.apple.com" <webobjects-dev@lists.apple.com> Subject: updates to same value: why they happen? Gentlemen, my code logs out all database changes in the databaseContextWillPerformAdaptorOperations delegate method. Lately from these logs I have found that one of my applications tends to pretty often update an attribute to the same value it used to have before, like this: === 249 /tmp> fgrep "UPDATE on 'DBAuction' ((uid = 1002533)" LOG 13:38:25.214|WorkerThread7 - 4: UPDATE on 'DBAuction' ((uid = 1002533)) 1{originalAmount:11058} 09:02:58.136|WorkerThread2 - 1: UPDATE on 'DBAuction' ((uid = 1002533)) 1{originalAmount:11058} 09:55:57.970|WorkerThread5 - 2: UPDATE on 'DBAuction' ((uid = 1002533)) 1{originalAmount:11058} 10:09:37.079|WorkerThread22 - 2: UPDATE on 'DBAuction' ((uid = 1002533)) 1{originalAmount:11058} 10:14:31.399|WorkerThread11 - 2: UPDATE on 'DBAuction' ((uid = 1002533)) 1{originalAmount:11058} 251 /tmp> === Can you see what might be the culprit? I understand this would happen if the value in the object itself does not change, whilst the value in the snapshot would; but how could change the attribute value of the snapshot without being written out to the database (which, if happened, would be logged as well)? Thanks a lot for any advice, OC
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com