that sounds like phpcr-odm is doing something wrong. if you could manage to reproduce the issue in a phpcr-odm test, would be awesome. otherwise i will have a look and see if i can understand what is going wrong.