We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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 be jakarta.persistence.id?
Id.class
jakarta.persistence.id
Otherwise the RelationalEntityMetadata doesn't contain the id column.
RelationalEntityMetadata