Build a bundle on top of the DoctrineOrmOdmAdapter to use it with references between orm and phpcr