-
Notifications
You must be signed in to change notification settings - Fork 132
Add support for Custom Conversions for array-types #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone
Comments
mp911de
added a commit
that referenced
this issue
Dec 3, 2018
We now support custom conversions via R2dbcCustomConversions. Custom conversions introduces simple types that depend on the used dialect. Custom conversions and simple types are held in RelationalConverter and MappingContext. Simple types and conversions are used by DatabaseClient and repository support to properly apply registered converters and support native types such as array-columns. Related tickets: #22, #26.
schauder
pushed a commit
that referenced
this issue
Dec 4, 2018
We now support custom conversions via R2dbcCustomConversions. Custom conversions introduces simple types that depend on the used dialect. Custom conversions and simple types are held in RelationalConverter and MappingContext. Simple types and conversions are used by DatabaseClient and repository support to properly apply registered converters and support native types such as array-columns. Related tickets: #22, #26.
mp911de
added a commit
that referenced
this issue
Dec 5, 2018
Minor formatting. Add suggestions. Update src/test/java/org/springframework/data/r2dbc/dialect/PostgresDialectUnitTests.java Co-Authored-By: mp911de <[email protected]>
mp911de
added a commit
that referenced
this issue
Dec 5, 2018
Introduce ArrayColumns type to encapsulate Dialect-specific array support. Apply array conversion for properties that do not match the native array type. Add integration tests for Postgres array columns.
mp911de
added a commit
that referenced
this issue
Dec 5, 2018
mp911de
added a commit
that referenced
this issue
Dec 7, 2018
Introduce ArrayColumns type to encapsulate Dialect-specific array support. Apply array conversion for properties that do not match the native array type. Add integration tests for Postgres array columns.
schauder
pushed a commit
that referenced
this issue
Dec 7, 2018
We now support custom conversions via R2dbcCustomConversions. Custom conversions introduces simple types that depend on the used dialect. Custom conversions and simple types are held in RelationalConverter and MappingContext. Simple types and conversions are used by DatabaseClient and repository support to properly apply registered converters and support native types such as array-columns. Related tickets: #22, #26. Original pull request: #31.
schauder
added a commit
that referenced
this issue
Dec 7, 2018
Minor formatting. Add suggestions. Update src/test/java/org/springframework/data/r2dbc/dialect/PostgresDialectUnitTests.java Co-Authored-By: mp911de <[email protected]> Original pull request: #31.
schauder
pushed a commit
that referenced
this issue
Dec 7, 2018
Introduce ArrayColumns type to encapsulate Dialect-specific array support. Apply array conversion for properties that do not match the native array type. Add integration tests for Postgres array columns. Original pull request: #31.
Done. |
mp911de
added a commit
that referenced
this issue
May 17, 2019
Fix custom converter documentation. Accept custom converters in DefaultReactiveDataAccessStrategy constructor.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should add
R2dbcCustomConversions
to distinguish between entity types and non-entity types.Right now,
String[]
is considered an entity as well asList
andCollection
. For Postgres, we would like to read and write array types.The text was updated successfully, but these errors were encountered: