Cool! Your solution is very nice indeed. I mistakingly assumed that only RW used locks, but, in fact they are employed by collection caches as well. I'm going to apply your fix, merged with my own changes which apply the MVCC attribute when we are running on H2. |