Doctrine 2 - ORM

[GH-810] New versioning strategy for optimistic lock: next version value managed by App