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

[#1436] Fix boot issue when model contains an association to an entity type that has an id class #1438

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

beikov
Copy link
Member

@beikov beikov commented Jan 26, 2022

Description

Related Issue

Fixes #1436

Motivation and Context

Copy link

@msavy msavy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand this correctly, you manually try to resolve the dot path in the case of the exception we see today (blah.id for example); if that manual resolution fails, then you re-throw the exception.

That seems a very reasonable solution.

Thanks for looking at this so quickly!

@beikov beikov merged commit 691f26d into Blazebit:main Jan 26, 2022
@beikov beikov deleted the issues/1436 branch January 26, 2022 12:27
@beikov
Copy link
Member Author

beikov commented Jan 26, 2022

Yes, that's what I am doing here. Thanks for the great reproducer @msavy! Reproducers like that always make it a breeze to figure out stuff like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hibernate 'could not resolve property' issue with Composite ID / @IdClass
2 participants