DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCJPA-90
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus API JPA

Support FetchPlan/FetchGroup specification via annotations for JPA

Created: 02/Dec/10 09:39 AM   Updated: 08/Dec/10 03:28 PM   Resolved: 02/Dec/10 09:47 AM
Component/s: API
Affects Version/s: None
Fix Version/s: 2.1.4

 Description  « Hide
JPA has no control over fetching other than a default specification equivalent to a DFG. It really deserves to have fetch plans/groups

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 02/Dec/10 09:47 AM
Just cast the entity manager to EntityManagerImpl and you can make use of the fetch plan.