DefaultIdentifierGeneratorFactory does not consider the hibernate.id.new_generator_mappings setting

Description

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 than the now-deprecated SequenceGenerator which has been previously the default option.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Vlad Mihalcea

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Affects versions

Priority

Major
Configure