HHH-8957 - 4.3 branch - Regression test

https://hibernate.atlassian.net/browse/HHH-8957