New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Cannot determine database's type as ConnectionFactory is not options-capable" error message doesn't provide enough detail #26977
Comments
Thanks for the report but I cannot reproduce the behaviour that you have described using a basic app created using https://start.spring.io. It looks as if you may be building the R2DBC If the above doesn't help and you would like us to spend some more time investigating, please spend some time providing a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue. |
Brilliant! I was using |
Thanks for following up. |
I think we could improve the error handling here. I'm not sure if we should catch the exception and assume that the database isn't embedded or if we should introduce a failure analyzer (and perhaps a custom exception type) for when the connection factory isn't options-capable and it needs to be. |
Using
@SpringBootTest
with webflux and r2dbc throws errorSpring Boot 2.5.1
Workaround: set
spring.sql.init.mode=never
application.yml
Gradle
Stacktrace
The text was updated successfully, but these errors were encountered: