I’ve added a test case for this (see https://github.com/hibernate/hibernate-orm/pull/5354). I couldn’t reproduce the error though (on the latest of the 5.6 branch), so either it was already fixed after 5.6.11, or my test case is different in some way from the code you are running. Could you check the PR and see if there is any significant difference? |