Use eclipselink.load-group.attribute
to specify if the query uses a load-group that includes a list of attributes.
Usage
You must define each attribute using a separate hint. The query loads all relational attributes defined in the load group.
LoadGroups are only supported for queries returning objects (only a single alias can be the select clause). Both local and nested attributes are supported.
See Also
For more information, see: