-
Notifications
You must be signed in to change notification settings - Fork 934
Component's Parent property is not accessible in queries #1583
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
Comments
I do not understand this mapping. Are you sure it is valid? I do not see any component in your classes. |
Ok, so you map Quite a convoluted case, and I do not see any reason for supporting this: what is the point of "round-tripping" "parent=>children=>parent" in queries? Since |
It is a new feature. Querying parent of the component is not supported. Even in Hibernate. |
Having mapped list collection with
composite-element
its not possible to useparent
property in query.Domain:
Mapping:
query:
Expected result: query returns list of
ParentIds
that have anyChildren
Actual result: query fails with exception
The text was updated successfully, but these errors were encountered: