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

Spring Data API Extension not implementing repository function #31570

Closed
Michael-AT-Corporation opened this issue Mar 3, 2023 · 2 comments · Fixed by #31574
Closed

Spring Data API Extension not implementing repository function #31570

Michael-AT-Corporation opened this issue Mar 3, 2023 · 2 comments · Fixed by #31574
Assignees
Labels
area/spring Issues relating to the Spring integration kind/bug Something isn't working
Milestone

Comments

@Michael-AT-Corporation
Copy link

Describe the bug

I have a Base Repository where i extend from JpaRepository. Then i extend from my own BaseRepository to create an ItemBaseRepository. (Both annotated with @NoRepositoryBean). Finally i define my Repository by extending ItemBaseRepository.
The Problem is the custom functions defined in my own BaseRepository are not implemented they are still abstract. If you remove the ItemBaseRepository so that the ItemRepoistory directly extends from my BaseRepository it works.
With SpringBoot there are no issues when extending twice.

Expected behavior

The functions should be implemented.

Actual behavior

The functions are abstract.

How to Reproduce?

QuarkusJPATest.zip

Output of uname -a or ver

No response

Output of java -version

java 17

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.16.1.Final

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.8.1

Additional information

No response

@Michael-AT-Corporation Michael-AT-Corporation added the kind/bug Something isn't working label Mar 3, 2023
@quarkus-bot quarkus-bot bot added the area/spring Issues relating to the Spring integration label Mar 3, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Mar 3, 2023

/cc @geoand (spring)

@geoand
Copy link
Contributor

geoand commented Mar 3, 2023

#31574 fixes the issue

geoand added a commit that referenced this issue Mar 3, 2023
Support multiple levels of repository interfaces in Spring Data JPA
@quarkus-bot quarkus-bot bot added this to the 3.0 - main milestone Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/spring Issues relating to the Spring integration kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants