-
Notifications
You must be signed in to change notification settings - Fork 683
AnnotationBasedPersistentProperty cannot resolve Id properties [Wrong Id class used] #3283
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
Comments
Not sure I follow. |
I am building a Spring Boot Starter for Hibernate Reactive. So I have a My
the Possible its supposed to work like that since this is internal Spring stuff, but seemed logical that |
BasicPersistentEntity::returnPropertyIfBetterIdPropertyCandidateOrNull
--> AnnotationBasedPersistentProperty::isIdProperty
https://github.com/spring-projects/spring-data-commons/blob/main/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java#L78-L79
Shouldn't the
Id.class
used here bejakarta.persistence.id
?Otherwise the
RelationalEntityMetadata
doesn't contain the id column.The text was updated successfully, but these errors were encountered: