PR open: https://github.com/hibernate/hibernate-orm/pull/1480
I had a bit of a hard time to come up with a test case for our testing infrastructure. The reason being that the issue only occurs in a JPA context, given the different flush strategy.