-
Notifications
You must be signed in to change notification settings - Fork 92
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
Allow entity views to contain subviews with custom correlation #108
Comments
An entity view could contain a subview and the mapping in the main entity view would contain the correlation predicate. Something like the following.
Maybe the BaseQueryBuilder is an overkill in this case and we should provide a dedicated interface consisting of just FromBuilder and WhereBuilder or parts of them in a different form. This could allow several strategies for fetching the the subview like proposed in #52
To get LEFT JOIN semantics in case of JOIN fetching requires to rewrite some of the predicates because in JPA2-means it can only do a CROSS JOIN to implement this feature.
which would require some extensions to the core parts. |
JOIN requires #222 |
Only the subselect strategy is missing now |
Preparations finished for subselect fetching by 60bbe47 |
The idea is to allow an attribute on an entity view to be computed by a subquery. The subquery would be executed for every entity view object created.
This is also kind of related to #52 since we might want to specify whether the subquery should do batching or so.
The text was updated successfully, but these errors were encountered: