Skip to content

Decouple PagingAndSortingRepository from CrudRepository and make it a fragment interface #2537

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

Closed
schauder opened this issue Jan 24, 2022 · 1 comment
Assignees
Labels
type: enhancement A general enhancement

Comments

@schauder
Copy link
Contributor

See #2535

@schauder schauder added this to the 3.0 M2 (2022.0.0) milestone Jan 24, 2022
@schauder schauder self-assigned this Jan 24, 2022
@schauder schauder added the type: enhancement A general enhancement label Jan 24, 2022
@mp911de
Copy link
Member

mp911de commented Jan 25, 2022

Also, CoroutineSortingRepository, ReactiveSortingRepository, and RxJava variants.

schauder added a commit that referenced this issue Feb 9, 2022
This way they can be combined with different variants of CrudRepositories.

This affects
`PagingAndSortingRepository`, `ReactiveSortingRepository`, `CoroutineSortingRepository`, and `RxJavaSortingRepository`.

Any repository implementing those interfaces now needs to also implement a suitable CRUD repository, or needs to manually add the methods from a CRUD repository as needed.

Closes #2537
schauder added a commit that referenced this issue Feb 10, 2022
See #2537
Original pull request #2540
schauder added a commit that referenced this issue Feb 10, 2022
See #2537
Original pull request #2540
@mp911de mp911de changed the title Split PagingAndSortingRepository and make it a fragment interface Decouple PagingAndSortingRepository from CrudRepository and make it a fragment interface Feb 11, 2022
mp911de pushed a commit that referenced this issue Feb 11, 2022
This way they can be combined with different variants of CrudRepositories.

This affects
`PagingAndSortingRepository`, `ReactiveSortingRepository`, `CoroutineSortingRepository`, and `RxJavaSortingRepository`.

Any repository implementing those interfaces now needs to also implement a suitable CRUD repository, or needs to manually add the methods from a CRUD repository as needed.

Closes #2537
Original pull request: #2540.
@mp911de mp911de closed this as completed Feb 11, 2022
schauder added a commit to spring-projects/spring-data-r2dbc that referenced this issue Feb 11, 2022
schauder added a commit to spring-projects/spring-data-geode that referenced this issue Feb 11, 2022
schauder added a commit that referenced this issue Mar 2, 2022
The new version goes into more details of the various options and is heavily based on changes made for version 3.0.x

Closes #2536
See #2537
fmbenhassine added a commit to spring-projects/spring-batch that referenced this issue Mar 16, 2022
Due to the decoupling of `PagingAndSortingRepository` from
`CrudRepository` in Spring Data 3 [1], this test has to be updated
to use different repositories between the reader and the writer
according to the expected types for the `repository` property.

[1]: spring-projects/spring-data-commons#2537
lcmarvin pushed a commit to lcmarvin/spring-batch that referenced this issue Apr 16, 2022
Due to the decoupling of `PagingAndSortingRepository` from
`CrudRepository` in Spring Data 3 [1], this test has to be updated
to use different repositories between the reader and the writer
according to the expected types for the `repository` property.

[1]: spring-projects/spring-data-commons#2537
rayrobert398 added a commit to rayrobert398/spring-data-Mobile-App-Developer-Java that referenced this issue Oct 3, 2022
schauder added a commit that referenced this issue Feb 27, 2023
The new version goes into more details of the various options and is heavily based on changes made for version 3.0.x

Closes #2536
See #2537
trayanus1026 pushed a commit to trayanus1026/spring-data-jpa-java that referenced this issue Aug 5, 2023
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 a pull request may close this issue.

2 participants