| I'm not trying to change entity version, what I want is preserve which version user saw in UI, to prevent lost updates. think like this: 1. user open edit page with hidden field of current version 2. user submit form 3. hibernate open transaction, load entity, copy data including version from request to entity, commit transaction. I'm expecting hibernate throw exception if copied version is not equals database version, but hibernate will ignore that. |