seems like it's already fixed by this commit:
https://github.com/hibernate/hibernate-orm/commit/069222cf58eaa20d83cc128d95d0cb7f45437358
is that right?