spring-projects / spring-projects/spring-data-relational

[r2dbc] OutboundRow class should not use deprecated class org.springframework.r2dbc.core.Parameter

Open
#1,397 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Java
Stars
827
Forks
394
PR merge metrics
No merged PRs in 30d

Description

org.springframework.data.r2dbc.mapping.OutboundRow class uses deprecated class org.springframework.r2dbc.core.Parameter.
It was deprecated in Spring 6.0.

Documentation for org.springframework.r2dbc.core.Parameter says to use io.r2dbc.spi.Parameter instead, so OutboundRow should be changed to use the class from io.r2dbc.spi package.

Currently, OutboundRow users are forced to use deprecated org.springframework.r2dbc.core.Parameter class.

In order to preserve compatibility, maybe a new class similar to OutboundRow should be created which would use io.r2dbc.spi.Parameter.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating org.springframework.data.r2dbc.mapping.OutboundRow and its usages, then inspect how it exposes org.springframework.r2dbc.core.Parameter. Compare the compatibility implications of using io.r2dbc.spi.Parameter directly or introducing a replacement class. Done means users are no longer forced to depend on the deprecated Spring Parameter type while existing compatibility is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
database
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.