-
Notifications
You must be signed in to change notification settings - Fork 132
PropertyReferenceException if path expression maps into simple type properties #369
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
Labels
type: bug
A general bug
Milestone
Comments
4 tasks
Thanks for reporting the issue. Spring Data's This issue pops up also in other Spring Data modules so we probably need to take a deeper look how to handle the issue. |
mp911de
added a commit
that referenced
this issue
May 22, 2020
…s into simple type property. We now fall back to the column name when resolving a property path expression that maps into a simple-typed property. PropertyPath.from(…) fails internally as it attempts to look up a simple type from the MappingContext and this fails for primitive and simple types.
mp911de
added a commit
that referenced
this issue
May 22, 2020
…s into simple type property. We now fall back to the column name when resolving a property path expression that maps into a simple-typed property. PropertyPath.from(…) fails internally as it attempts to look up a simple type from the MappingContext and this fails for primitive and simple types.
That's fixed now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While working on the SpringBoot 2.3 support in JHipster, I stumble upon an new issue that we had not before:
I've created a minimal project to expose the issue: https://github.com/murdos/spring-data-r2dbc-mapping-bug
The issues seems to comes from the
password_hash
column of thejhi_user
table: becausepropertyPath
is then valued toUser.password.hash
.It the column is renamed to
passwordhash
everything works fine.The text was updated successfully, but these errors were encountered: