| Summary: | Throw informative exception on attempt to use FetchGroups when no Weaving | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Shaun Smith <shaun.smith> |
| Component: | Eclipselink | Assignee: | Project Inbox <eclipselink.orm-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | douglas.clarke, tom.ware |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| URL: | http://wiki.eclipse.org/EclipseLink/Development/2.1/AdvancedJPA_Queries/FetchGroup | ||
| Whiteboard: | |||
|
Description
Shaun Smith
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 |