Duplicate generator for specific sequence per table

Description

Defining a sequence-based primary key in a base entity with specific sequences per concrete sub-entities used to work in Hibernate 5.2.12. After the upgrade Hibernate 5.2.13 we get a

java.lang.IllegalArgumentException: Duplicate generator name id
at org.hibernate....InFlightMetadataCollectorImpl.addIdentifierGenerator

Code to reproduce the problem (on any database):

Environment

Hibernate 5.2.13, Java 8, independent of database

Assignee

Unassigned

Reporter

Stefan Mueller

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.2.12

Components

Affects versions

Priority

Major
Configure