It looks like that starting hibernate 6.3, the class ConnectionProviderInitiator has reversed the order in which it checks for "hibernate.connection.datasource" and "hibernate.connection.provider_class". However the documentation says otherwise and doesn't match with the code, below are the links.
This is causing an issue with our application as we depend on the provider_class to be checked first since we have a custom DatasourceConnectionProvider class that overrides the default"getConnection()" method. We are not able to upgrade from Wildfly 29 to 31 due this issue. Looking for any ideas/suggestions on how we can handle this issue.
Thanks!