From this [forum conversation|https://forum.hibernate.org/viewtopic.php?f=1&t=1043385&p=2489841], I realized that {{DefaultIdentifierGeneratorFactory}} does not take into consideration the {{hibernate.id.new_generator_mappings setting}}.
When porting from Hibernate 3.x or 4.x to 5.x, users will bump into this issue since {{sequence}} will evaluate to {{SequenceStyleGenerator}}, which uses different parameter names than the now-deprecated {{SequenceGenerator}} which has been previously the default option . |
|