Skip to content

StringBasedR2dbcQuery binds Parameterobjects to native bind markers instead of unwrapped values #694

Closed

Description

@wilkinsona

This was originally reported as a Spring Boot issue. Please see that issue for a description of the problem, a sample that reproduces it, and the analysis that led to me opening this issue. It appears to be a regression caused by 6732561.

Activity

  1. self-assigned this
    on Dec 10, 2021
  2. added this to the 1.4.1 (2021.1.1) milestone on Dec 14, 2021
  3. changed the title [-]Cannot encode parameter of type org.springframework.r2dbc.core.Parameter after upgrading to 1.4.0[/-] [+]`StringBasedR2dbcQuery` binds `Parameter`objects to native bind markers instead of unwrapped values[/+] on Dec 14, 2021
  4. added a commit that references this issue on Dec 14, 2021
    a235e8a
  5. clayly commented on Dec 14, 2021

    @clayly

    @mp911de Can you recommend some workaround for this issue? We trying to use Spring Boot 2.6.1 but it depends on 1.4.0 version and our code crashes.

  6. taoj-action commented on Dec 15, 2021

    @taoj-action

    Found the code change by @mp911de for fixing it. However, we do need a new release for https://github.com/spring-projects/spring-data-r2dbc/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions