-
Notifications
You must be signed in to change notification settings - Fork 356
MappedCollection select 2 level entity aggregate link by 1 level enity id value #1748
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
status: duplicate
A duplicate of another issue
status: feedback-provided
Feedback has been provided
type: bug
A general bug
Comments
This certainly looks like a bug. But could you please provide a reproducer, preferable as a github repository. |
It might be a duplicate of #1734 |
Okay, thank you for your answer, I will create a repository on GitHub with a reproduction of this problem, and I will send a link soon. |
Duplicate of #1692 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status: duplicate
A duplicate of another issue
status: feedback-provided
Feedback has been provided
type: bug
A general bug
Hello, after up version to 3.2.0, i have strange problem with my entity.
Pls help me understand, this is bug or my mistake)
Code
Naming all of entities and columns are correct.
My 1 level Entity is:
My 2 level Entity is:
table "permissions" has link to "profiles" in column "permissions.profile_id"
And linked entity is:
Problem description
At runtime when spring data jdbc try select ProfileEntity then select PermissionEntity and select PermissionAttributeRef by permission_id where permission_id = profiles.id. What I think is wrong. I think PermissionAttributeRef should be selected by permissions.id, but spring data jdbc select by profiles.id (1 level entity).
Temproary fix
Select ProfileEntity get from entity PermissionEntity.id and then more one select PermissionEntity and get permissionAttributesId in this way always work is correct, but i think this wrong way.
Images from debug
My Thread dump
The text was updated successfully, but these errors were encountered: