automatic versioning : ok, optimistic locking doesn't work