Closed timyates closed 8 months ago
I believe this is also an issue with micronaut-data hibernate-reactive
It's been a while when this issue was created. Added runtime dependency for ongres client here https://github.com/micronaut-projects/micronaut-sql/pull/1243/files#diff-ffdbca91a95ed7955cdb987624acd5ddc14ba73e4d90210ace6509d592419b7e and it should be fixed in next micronaut-sql release.
Expected Behavior
Hibernate Reactive should work with Postgres databases.
Actual Behaviour
When you attempt to do something that touches the database (such as run the app or a test), it throws the following exception:
It seems to be missing a dependency (as described here https://vertx.io/docs/vertx-pg-client/java/#_sasl_scram_sha_256_authentication_mechanism), and indeed adding
To the build makes it work... Should this be a default dependency? Or is there some configuration to turn off this requirement?
Steps To Reproduce
Apply this diff to switch to postgres:
./gradlew test
to see the failureimplementation("com.ongres.scram:client:2.1")
to the build./gradlew test
to see it passingEnvironment Information
No response
Example Application
No response
Version
3.7.2