Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MappingR2dbcConverter cannot convert reserved keyword fields #867

Closed
@ShenFeng312

Description

I have a table where the field is desc. Since it's a reserved keyword in PostgreSQL, I had to use the annotation @column(""desc"") to allow it to be written properly. However, when reading the data, I found that it cannot be read correctly because in org.springframework.data.r2dbc.convert.MappingR2dbcConverter#readFrom, the org.springframework.data.r2dbc.convert.RowMetadataUtils#containsColumn method doesn't recognize the field. I believe some hardcoded logic should be added here to solve this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /