I think the following will fix the issue: https://github.com/hibernate/hibernate-orm/compare/master...beikov:patch-1