Uploaded image for project: 'Hibernate ORM'
  1. HHH-10876

DefaultIdentifierGeneratorFactory does not consider the hibernate.id.new_generator_mappings setting

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.1, 5.1.1, 5.0.11
    • Component/s: None
    • Labels:

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: