-
Notifications
You must be signed in to change notification settings - Fork 20
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
Spring Boot 2 vs. Spring Boot 3 - r2dbc spi incompatibility #132
Comments
Perhaps the solution is for |
because of the SPI version different. We need to use different version of the r2dbc version when using different spring boot version Postgres 1.0.0.RELEASE for SB3 and 0.9.3.RELEASE for SB2 how do we deal with different version of the dependencies ? |
I don't know the details but I'm guessing something like this:
|
@kwonglau Why is a MariaDB specific API needed instead of a generic |
thanks for the idea. I'll try and see if this approach works. |
@kwonglau Where does this change need to be made? |
because .option(Option.valueOf("allowPublicKeyRetrieval"), true) doesn't work since allowPublicKeyRetrieval is not a configuration param for mariadb. it can only be configured using the api explicitly. |
BTW My preference would be to get the non-reactive Eventuate working with a Spring Boot 3 application before worrying about the reactive APIs. See comment about how the Eventuate libraries should be built/tested with Spring Boot 2 but work in a Spring Boot application. |
will do |
Spring Boot 2 is using R2DBC SPI 0.8.x
Spring Boot 3 is using 1.0.0.RELEASE
r2dbc has change the return type for insert row count from int to long. when using spring boot 3, we need to update the code and at least re-compile.
https://github.com/mirromutth/r2dbc-mysql
the mysql r2dbc driver is not compatible with spring boot 3 and I mange to use the mariadb r2dbc driver (1.1.2) connecting to mysql server 8.0.31 and it is working well. when using 1.1.3, it throw exception, but 1.1.3 version can connect to mariadb 10.10.2 without any error.
However, the code need to be update like the following.
The text was updated successfully, but these errors were encountered: