repeatable read and second lost updates issue
问题 With repeatable read isolation level, it is still possible to lose updates (second lost updates problem). E.g. in the scenario with isolation level set to RR: 1) transaction t1 reads data from row r1, 2) transaction t2 reads same data from row r1, 3) t1 modifies the data read in #1 and commits data to r1 4) t2 modifies the data read in #2 and commits data to r1. t1's update is lost I tried this with Hibernate (isolation level set to RR) and saw the behavior as mentioned above. Why then is it