Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AnnotationBasedPersistentProperty cannot resolve Id properties [Wrong Id class used] #3283

Copy link
Copy link
Open
@SledgeHammer01

Description

@SledgeHammer01
Issue body actions

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?

Otherwise the RelationalEntityMetadata doesn't contain the id column.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.