Skip to content

Conversation

@schauder
Copy link
Contributor

@schauder schauder commented May 21, 2021

Different R2DBC drivers expect generated keys when they are in camel case to be quoted or unquoted.
This can now be controlled by implementing Dialect.renderForGeneratedKeys.

Also:

  • Upgrades Kotlin coroutine version - With the previous version the debugger of IntelliJ broke. See https://youtrack.jetbrains.com/issue/KTIJ-5659
  • NoAvailableDatabase returns dummy values instead of throwing exceptions. - This allows to ignore tests without database available to be ignored, instead of failing with an error.

Closes: #483

Note: Implementations for SqlServer and Oracle aren't tested yet.

schauder added 4 commits May 20, 2021 13:28
With the previous version the debugger of IntelliJ broke.

See https://youtrack.jetbrains.com/issue/KTIJ-5659
Different R2DBC drivers expect generated keys when they are in camel case to be quoted or unquoted.
This can now be controlled by implementing `Dialect.renderForGeneratedKeys`.

Closes: #483
This allows to ignore tests without database available to be ignored, instead of failing with an error.
@schauder schauder requested a review from mp911de May 21, 2021 16:11
mp911de pushed a commit that referenced this pull request Jun 11, 2021
Different R2DBC drivers expect generated keys when they are in camel case to be quoted or unquoted.
This can now be controlled by implementing `Dialect.renderForGeneratedKeys`.

Closes: #483
Original pull request: #602.
mp911de added a commit that referenced this pull request Jun 11, 2021
Rename method to renderForGeneratedValues to reflect its intended usage and enhance documentation.

Tweak Javadoc.

Closes: #483
Original pull request: #602.
mp911de pushed a commit that referenced this pull request Jun 11, 2021
Different R2DBC drivers expect generated keys when they are in camel case to be quoted or unquoted.
This can now be controlled by implementing `Dialect.renderForGeneratedKeys`.

Closes: #483
Original pull request: #602.
mp911de added a commit that referenced this pull request Jun 11, 2021
Rename method to renderForGeneratedValues to reflect its intended usage and enhance documentation.

Tweak Javadoc.

Closes: #483
Original pull request: #602.
mp911de pushed a commit that referenced this pull request Jun 11, 2021
Different R2DBC drivers expect generated keys when they are in camel case to be quoted or unquoted.
This can now be controlled by implementing `Dialect.renderForGeneratedKeys`.

Closes: #483
Original pull request: #602.
mp911de added a commit that referenced this pull request Jun 11, 2021
Rename method to renderForGeneratedValues to reflect its intended usage and enhance documentation.

Tweak Javadoc.

Closes: #483
Original pull request: #602.
mp911de added a commit that referenced this pull request Jun 11, 2021
Rename method to renderForGeneratedValues to reflect its intended usage and enhance documentation.

Tweak Javadoc.

Closes: #483
Original pull request: #602.
mp911de added a commit that referenced this pull request Jun 11, 2021
Rename method to renderForGeneratedValues to reflect its intended usage and enhance documentation.

Tweak Javadoc.

Closes: #483
Original pull request: #602.
@mp911de mp911de added this to the 1.2.10 (2020.0.10) milestone Jun 11, 2021
@mp911de
Copy link
Member

mp911de commented Jun 11, 2021

That's polished, merged and backported now.

@mp911de mp911de closed this Jun 11, 2021
@mp911de mp911de deleted the issue/483-read-camel-case branch June 11, 2021 06:43
@mp911de mp911de added the type: bug A general bug label Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spring R2DBC should support camel case columns in Postgresql out of the box or should provide configuration for supporting it.

3 participants