WildFly is currently failing to deploy applications that have "hibernate.id.new_generator_mappings" (USE_NEW_ID_GENERATOR_MAPPINGS) set to false [1], since that option is removed from Hibernate ORM 6.

The application deployment failure message [2] is basically:

"
hibernate.id.new_generator_mappings set to false is not supported, remove the setting or set to true. Refer to Hibernate ORM migration documentation for how to update the next id state in the application database.
"

Any suggestions for updates to the ^ deployment failure message? Should the deployment failure message link to the `idgeneratortype` section [3] of the ORM 6 migration doc?

Scott

[1] https://github.com/wildfly/wildfly/blob/main/jpa/hibernate6/src/main/java/org/jboss/as/jpa/hibernate/HibernatePersistenceProviderAdaptor.java#L75 [2] https://github.com/wildfly/wildfly/blob/6096ea6059fa7e21337fafc4e6061d7301b44f2c/jpa/hibernate6/src/main/java/org/jboss/as/jpa/hibernate/JpaLogger.java#L66 [3] https://github.com/hibernate/hibernate-orm/blob/6.0/migration-guide.adoc#idgeneratortype
_______________________________________________
hibernate-dev mailing list -- hibernate-dev@lists.jboss.org
To unsubscribe send an email to hibernate-dev-le...@lists.jboss.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to