Uploaded image for project: 'MariaDB Connector/R2DBC'
  1. MariaDB Connector/R2DBC
  2. R2DBC-103

Support 0.9.1 SPEC version

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.2.2
    • Specification
    • None

    Description

      spring boot 2.7 rely on R2DBC spec 0.9.1 while versions above use R2DBC 1.0 version.
      problem concerns spring boot 2.7, with R2DBC 0.9.1 SPEC that have could be supported until 2025-08-24 :

      R2DBC has a breaking change between 0.9.1 and 1.0, Result.getRowsUpdated() which used to return an Integer now returns a Long.
      In order to support R2DBC 0.9.1, 2 versions of connector might have to be supported, one for 1.0 and one for 0.9.1.

      latest version of mariadb connector supporting 0.9.1 is 1.1.2 ( while 1.1.3 support 1.0 spec).
      but lots of bug fixes have been done in later version.

      proposal :
      current maven version is

      <dependency>
      		<groupId>org.mariadb</groupId>
      		<artifactId>r2dbc-mariadb</artifactId>
      		<version>1.2.2</version>
      </dependency>
      

      the proposal is to support another maven artifact specific to 0.9.1 spec, like

      <dependency>
      		<groupId>org.mariadb</groupId>
      		<artifactId>r2dbc-mariadb-0.9.1-spec</artifactId>
      		<version>1.2.2</version>
      </dependency>
      

      spring 3.x version include org.mariadb:r2dbc-mariadb dependency, but that's not the case for spring boot 2.7, so this would permit to have all the bug fixes/evolution on the 2 incompatible R2DBC spec.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.