doctrine/phpcr-odm — comment on commit 15199349d45402b086b5a6f07400dbd6d5667be7
File: tests/Doctrine/Tests/ODM/PHPCR/Functional/BasicCrudTest.php line 149
By dbu:

my use case is that i want to rebuild a part of a tree. for that, i first remove that tree and then re-add elements. during that operation, i don't want to flush to not remove any data from the running system.
tracking which object is which would be complicated. plus i want the side effect of getting the elements into phpcr in the right order.

to me, semantically this would all make sense. can't the detach remove the traces from the phcpr state?