I've created a pull request with a test case that reproduces this issue: https://github.com/hibernate/hibernate-orm/pull/1265