Vineet Reynolds created FORGE-1277:
--------------------------------------
Summary: Allow relationships to be conditionally emitted in REST resource
representations
Key: FORGE-1277
URL:
https://issues.jboss.org/browse/FORGE-1277
Project: Forge
Issue Type: Feature Request
Components: Builtin Plugins
Reporter: Vineet Reynolds
When you have too many @OneToMany or @ManyToMany relationships, you end up
with several queries that JOIN FETCH several/different relationships. So
what I usually do when things are complex is :
findAll
findAllWithRelations (meaning all relations are FETCH)
or more specific (when things are really really complex)
findAllWithBooks
findAllWithAuthors
findAllWithBooksAndAuthors
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira