My findByCriteria method is implemented as below:
While this method is reading a record in the for loop, there is some
thread changes a record data that is already read. When this method returns the result that some record is not matched with the criteria. Is this occurrence acceptable? Should I implement as following code to eliminate dirty read?
But this code is less concurrent.
Thank you,
Surasak
[ July 02, 2004: Message edited by: Surasak Leenapongpanit ]