spring-projects / spring-projects/spring-data-relational
[r2dbc] OutboundRow class should not use deprecated class org.springframework.r2dbc.core.Parameter
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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