I filed a bug entry with testcase here. Please vote for it if you’re having this problem for mysql
https://hibernate.atlassian.net/browse/HHH-14134