Skip to content
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

Split Single Query Conversion into two-step process #1604

Closed
wants to merge 6 commits into from
Closed

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Sep 6, 2023

This change splits ResultSet extraction into two phases:

  1. Extract RowDocuments from a ResultSet that uses multi-set representation
  2. Map RowDocument into an aggregate (entity) instance using MappingRelationalConverter

AggregateResultSetExtractor is also now removed as it handled too many different responsibilities and it wasn't usable for R2DBC because of its tight relationship to ResultSet.

Closes #1586

mp911de and others added 6 commits September 4, 2023 14:34
Add sophisticated converter to read aggregates from a RowDocument including support for maps, collections, subdocuments, and embeddables considering registered converters.
…owDocument and then later apply object mapping.
@mp911de mp911de added the type: enhancement A general enhancement label Sep 6, 2023
@mp911de mp911de requested a review from schauder September 6, 2023 08:55
schauder pushed a commit that referenced this pull request Sep 8, 2023
Add sophisticated converter to read aggregates from a RowDocument including support for maps, collections, subdocuments, and embeddables considering registered converters.
Use ResultSetRowDocumentExtractor to extract result multi-sets into RowDocument and then later apply object mapping.

Original pull request #1604
Closes #1586
schauder added a commit that referenced this pull request Sep 8, 2023
schauder added a commit that referenced this pull request Sep 8, 2023
Original pull request #1604
See #1586
@mp911de mp911de added this to the 3.2 M3 (2023.1.0) milestone Sep 13, 2023
@mp911de mp911de closed this Sep 13, 2023
@mp911de mp911de deleted the issue/1586 branch September 13, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split Single Query Conversion into two-step process
2 participants