Skip to content

3.0.0-M3 PagingAndSortingRepository does not extend CrudRepository anymore #236

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
2 tasks
Tracked by #256
fabapp2 opened this issue Jul 18, 2022 · 2 comments · Fixed by #242
Closed
2 tasks
Tracked by #256

3.0.0-M3 PagingAndSortingRepository does not extend CrudRepository anymore #236

fabapp2 opened this issue Jul 18, 2022 · 2 comments · Fixed by #242
Labels
3.0.0 Spring Boot 3.0.0 type: enhancement New feature or request upgrade:spring-data
Milestone

Comments

@fabapp2
Copy link
Contributor

fabapp2 commented Jul 18, 2022

https://github.com/spring-projects/spring-data-commons/wiki/Spring-Data-2022.0-(Turing)-Release-Notes-(Preview)#sorting-repositories-no-longer-inherit-from-crud-repositories

With spring-data-jpa PagingAndSortingRepository does not extend CrudRepository anymore.

  • Find all classes/interfaces that extends/implement PagingAndSortingRepository
  • For all matches add CrudRepository to the inheritance
interface Payments extends PagingAndSortingRepository<Payment<?>, Long> {
}

becomes

interface Payments extends PagingAndSortingRepository<Payment<?>, Long>, CrudRepository<Payment<?>, Long> {
}
@fabapp2 fabapp2 assigned fabapp2 and unassigned fabapp2 Jul 18, 2022
fabapp2 pushed a commit that referenced this issue Jul 20, 2022
closes #236 

Co-authored-by: sanagaraj-pivotal <[email protected]>
fabapp2 pushed a commit that referenced this issue Jul 21, 2022
closes #164
closes #198
closes #155
closes #165
closes #197
closes #166

Crud repository extension (#242)

closes #236

Co-authored-by: sanagaraj-pivotal <[email protected]>
@fabapp2 fabapp2 added upgrade:spring-data 3.0.0 Spring Boot 3.0.0 and removed upgrade:boot labels Jul 21, 2022
@fabapp2 fabapp2 added this to the v0.12.0 milestone Sep 20, 2022
@fabapp2 fabapp2 added the type: enhancement New feature or request label Sep 21, 2022
@simi1912
Copy link

simi1912 commented Sep 1, 2023

Why this happend?

@fabapp2
Copy link
Contributor Author

fabapp2 commented Sep 5, 2023

Why this happend?

It's explained in the Release Notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.0 Spring Boot 3.0.0 type: enhancement New feature or request upgrade:spring-data
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants