Working solution with bidirectionnal relationships.
OptimisticLockException