Skip to content

Document R2DBC identifier handling - #11700

Merged
artembilan merged 2 commits into
spring-projects:mainfrom
cppwfs:GH-upd-r2dbc-upd-resp
Nov 11, 2026
Merged

artembilan merged 2 commits into
spring-projects:mainfrom
cppwfs:GH-upd-r2dbc-upd-resp

Conversation

@cppwfs

@cppwfs cppwfs commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

The R2DBC docs presented a setup that maps the whole payload into column names as the typical configuration, without warning that table names and map keys go into the SQL unescaped.

  • Note that table names and values map keys are rendered as is.
  • Note that Criteria column names from message data are rendered as is.
  • Add notes to the R2dbcMessageHandler Javadoc.
  • Add an IMPORTANT block to the R2DBC reference docs.
  • Link the reference docs to the "Trusting Data" section.

Auto-cherry-pick to 7.1.x, 7.0.x

The R2DBC docs presented a setup that maps the whole payload into
column names as the typical configuration, without warning that table
names and map keys go into the SQL unescaped.

- Note that table names and values map keys are rendered as is.
- Note that `Criteria` column names from message data are rendered as is.
- Add notes to the `R2dbcMessageHandler` Javadoc.
- Add an `IMPORTANT` block to the R2DBC reference docs.
- Link the reference docs to the "Trusting Data" section.

**Auto-cherry-pick to `7.1.x`, `7.0.x`**
- Mention AllowListMessageHeaderSelector in the Javadoc.
- Link the reference docs to the "Trusting Data" section.
- Add the R2DBC settings to the "Sensitive Metadata" list.
@cppwfs
cppwfs force-pushed the GH-upd-r2dbc-upd-resp branch from ae463a1 to 06732be Compare November 11, 2026 19:24
@artembilan
artembilan merged commit 3765069 into spring-projects:main Nov 11, 2026
3 checks passed
spring-builds pushed a commit that referenced this pull request Nov 11, 2026
Fixes: #11700

The R2DBC docs presented a setup that maps the whole payload into
column names as the typical configuration, without warning that table
names and map keys go into the SQL unescaped.

- Note that table names and values map keys are rendered as is.
- Note that `Criteria` column names from message data are rendered as is.
- Add notes to the `R2dbcMessageHandler` Javadoc.
- Add an `IMPORTANT` block to the R2DBC reference docs.
- Link the reference docs to the "Trusting Data" section.

* Document R2DBC identifier handling

- Mention AllowListMessageHeaderSelector in the Javadoc.
- Link the reference docs to the "Trusting Data" section.
- Add the R2DBC settings to the "Sensitive Metadata" list.

(cherry picked from commit 3765069)
spring-builds pushed a commit that referenced this pull request Nov 11, 2026
Fixes: #11700

The R2DBC docs presented a setup that maps the whole payload into
column names as the typical configuration, without warning that table
names and map keys go into the SQL unescaped.

- Note that table names and values map keys are rendered as is.
- Note that `Criteria` column names from message data are rendered as is.
- Add notes to the `R2dbcMessageHandler` Javadoc.
- Add an `IMPORTANT` block to the R2DBC reference docs.
- Link the reference docs to the "Trusting Data" section.

* Document R2DBC identifier handling

- Mention AllowListMessageHeaderSelector in the Javadoc.
- Link the reference docs to the "Trusting Data" section.
- Add the R2DBC settings to the "Sensitive Metadata" list.

(cherry picked from commit 3765069)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants