The following commit refers to this issue, but is not relevant to this issue: https://github.com/hibernate/hibernate-orm/commit/283750afd0e904487c4c1e8b5e65de5a09a811e3