`Version` supports only `datetime` or `integer` column type, otherwise locking should be managed manually by updating the custom version + use `EntityManager::lock` explicitly after retrieving an entity.