That's odd, the test case I committed fits your first scenario, see this commit: https://github.com/hibernate/hibernate-orm/commit/0d79bc06cfdf4c804b2bb1dd9be12520de162364