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

Activity

Show:
Gail Badner
June 22, 2016, 8:35 PM

does this affect 5.0?

Vlad Mihalcea
June 23, 2016, 5:21 AM

This issue affects both 5.0 and 5.1.

Gail Badner
August 11, 2016, 5:26 AM

Re-opening to add more fix versions.

Gail Badner
August 11, 2016, 6:31 AM

Fixed in 5.1 and 5.0 branches as well.

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