@dantleech this is not about the case when we get it from class metadata, but about when we get a FQN as $className parameter already. inside the `if` we could in fact return.

i still don't understand how exactly the issue could be produced if @AxaliaN is not using get_class, but afaict we never do get_class inside the phpcr-odm in places where it could end up here - maybe i missed something.

anyways, i think if you do `find('__PROXY\My\Class', '/...')` it should work to find `My\Class`. if we could reproduce the bug, we could maybe find where the problem comes from. @AxaliaN any chance you could do a test that triggers the problem? (not on the fixed branch, so we see the actual exception)