hibernate.id.new_generator_mappings default value is true, it seems spring change the default value to false.
The only reason for changing the default behaviour is for compatibility when upgrading existing applications from 4.x to 5.x.