updates to same value: why they happen?
updates to same value: why they happen?
- Subject: updates to same value: why they happen?
- From: "ocs@ocs" <email@hidden>
- Date: Tue, 14 Aug 2018 19:26:21 +0200
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden