Hibernate 5 throws duplicate generator name XXX

That’s how JPA says generators should work. Previously, Hibernate allowed generators to use an entity scope. However, JPA says the scope should be global.

For more details, check out the HHH-12454 Jira issue. We are going to add a configuration property to support the legacy mode.

1 Like