"Wrong" is a strong word . Apparently, this is a compliant behavior according to the JPA TCK. Since even the reference implementation behaves like that, we can't be that wrong obviously.