| From this forum conversation, 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. |