I have added a pull request with a regression test: https://github.com/hibernate/hibernate-orm/pull/701