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

[r2dbc] Support for one-to-one and one-to-many relationships

Open
#1,834 11 comments 32 reactions 1 assignee View on GitHub

@schauder is already working on this.

Since Jul 15, 2024.

in: r2dbc status: pending-design-work status: waiting-for-triage
Dominant language
Java
Stars
827
Forks
394
PR merge metrics
No merged PRs in 30d

Description

Since spring-data-r2dbc is now part of spring-data-relational, I wanted to reopen a much-discussed topic.

Quote from the original issue:

"Spring Data JDBC supports one-to-one and one-to-many (either as set, list or map) relationships:
https://docs.spring.io/spring-data/relational/reference/jdbc/mapping.html#jdbc.entity-persistence.types
It would be really useful to have this feature with R2DBC as well."

Being able to map "simple" relations would make working with r2dbc much easier. Many of our developers do not switch to Spring's reactive stack due to the lack of the ability to represent relations and prefer to stick with the MVC variant, where they can make use of JPA and Hibernate.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.