Symptom
Creating a report via Eclipse based on hierarchical POJO classes.
Both classes show their primitive datatypes (string, integer) but the relation myFirstObject.mySecondObject is omitted.
Reproducing the Issue
Using Crystal Reports for Eclipse 2:
1) Create two POJO classes, e.g. ClassOne and ClassTwo containing a string property each and ClassOne also containing an object of ClassTwo.
2) Right-click ClassOne and click on Crystal Reports -> Add to new.
3) Drag ClassTwo into the same report.
4) Observe how both classes show their primitive datatypes but the relation (objClassOne.getClassTwo) is omitted.
Cause
Resolution
A workaround is to create a "wrapper" class that shows the relationship between the two other classes.
Keywords
linked objects, linked classes, , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem