I created a test case for this: https://github.com/dirkniblick/HHH-16938 It looks like the exception occurs when using a new EntityManager to find the created entity. This works when not using the meta annotation.