I created a PR to fix this in the 5.0 stream but found no way of attaching it. Do I miss some powers here? https://github.com/hibernate/hibernate-orm/pull/1094