-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Support Spring Data JpaRepository#getReferenceById(ID)
(replacement for deprecated getOne(ID)
)
#41987
Labels
Milestone
Comments
famod
added
kind/enhancement
New feature or request
area/spring
Issues relating to the Spring integration
labels
Jul 18, 2024
/cc @geoand (spring) |
cc @aureamunoz |
Please note that #getById and #deleteInBatch are deprecated too. |
Hi! |
aureamunoz
added a commit
to aureamunoz/quarkus
that referenced
this issue
Jul 19, 2024
Lets see if @aureamunoz already has or not, otherwise it's yours :) |
Oups, just raised the PR with the change: #41993 |
aureamunoz
added a commit
to aureamunoz/quarkus
that referenced
this issue
Jul 19, 2024
aureamunoz
added a commit
to aureamunoz/quarkus
that referenced
this issue
Jul 19, 2024
Oh wow, that was quick - thanks all! |
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Jul 22, 2024
…ethods that were lacking Fixes quarkusio#41987 (cherry picked from commit 4e06bfb)
barreiro
pushed a commit
to barreiro/quarkus
that referenced
this issue
Jul 25, 2024
…ethods that were lacking Fixes quarkusio#41987
holly-cummins
pushed a commit
to holly-cummins/quarkus
that referenced
this issue
Jul 31, 2024
…ethods that were lacking Fixes quarkusio#41987
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
JpaRepository#getOne(ID)
was marked deprecated a long time ago: spring-projects/spring-data-jpa#1697and javadoc suggests to use
getReferenceById
: spring-projects/spring-data-jpa#2398In Quarkus, we are seeing this deprecation since #40344.
Now, when trying to use
getReferenceById
the following is thrown:Implementation ideas
Support
getReferenceById
just likegetOne
The text was updated successfully, but these errors were encountered: