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

Allow specifying fetches for relations in entity views #257

Closed
beikov opened this issue Sep 29, 2016 · 0 comments

Comments

@beikov
Copy link
Member

commented Sep 29, 2016

Contrary to what I thought was possible with JPQL when creating #146 it actually is possible to define fetches for sub-relations. When #190 is done, we can also support doing fetches in entity views. I propose to add a new method String[] fetches() default {} to Mapping that can be used to specify fetches for plain entities or embeddables.
Also update the documentation about entity mappings when this is done.

@beikov beikov added the enhancement label Sep 29, 2016

@beikov beikov added this to the 1.2.0 milestone Sep 29, 2016

@beikov beikov self-assigned this Sep 29, 2016

@beikov beikov added the entity-view label Jan 10, 2017

beikov added a commit to beikov/blaze-persistence that referenced this issue Mar 21, 2017
Fixed Blazebit#257 - Added fetches attribute that invokes fetch() on …
…the query builder. Fix a join manager issue related to MapValueExpressions
beikov added a commit to beikov/blaze-persistence that referenced this issue Mar 21, 2017
Fixed Blazebit#257 - Added fetches attribute that invokes fetch() on …
…the query builder. Fix a join manager issue related to MapValueExpressions

@beikov beikov closed this in 57a4968 Mar 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.