Hi,
as you have correctly identified its hibernate-core that is generating these scripts.
Best if you open a bug on hibernate jira (https://hibernate.onjira.com/browse/HHH) with the details, if you have a pullrequest even better.
When you open the bug please do leave a comment here with the jira url so users that bump into this can find it.