btw this might require a newer doctrine common version, see https://github.com/doctrine/phpcr-odm/pull/205#issuecomment-11900521