Community
Participate
Working Groups
Attempting to set a FetchGroup on a query when weaving has not been performed results in the exception: Exception Description: You must define a fetch group manager at descriptor <CLASSNAME> in order to set a fetch group on the query (null) If the only reason for there to be no fetch group manager is because weaving was not performed then the exception should indicate that configuring weaving may resolve this issue. If there are other possible root causes then those should be described also so that the developer can avoid this exception.
While weaving is generally how FetchGroup support is enabled the real requirement is that the entity class properly implements FetchGroupTracker. The exception I get adding named FetchGroups to an entity that doe snot implement FetchGroupTracker is: Exception [EclipseLink-199] (Eclipse Persistence Services - @VERSION@.@QUALIFIER@): org.eclipse.persistence.exceptions.DescriptorException Exception Description: In order to use Fetch Group, the domain class (class model.Employee) has to implement FetchGroupTracker interface. Descriptor: RelationalDescriptor(model.Employee --> [DatabaseTable(EMPLOYEE), DatabaseTable(SALARY)])
Setting target and priority. See the following page for details of the meanings of these: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink