Hi,
I have found strange behaviour when using Second Level Cache and Version.
When new version is set second level cache does not include it into update.
After some investigation:
The problem occurs here DefaultEntityHydrator::buildCacheEntry
, UnitOfWork does not include version field in actualData.
Any ideas how to fix it?