Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Error nesting List object (Error on nesting List object in one single class)
Error nesting List object [message #1793154] Tue, 31 July 2018 17:18
Abdulhakeem AbdulAleem is currently offline Abdulhakeem AbdulAleemFriend
Messages: 1
Registered: July 2018
Junior Member
I'm facing difficulty on nested pojo data set. My data structure is as follows

class StudentResult {
String id;
List<Subject> subjects
List<Trait> traits
}

passing this structure to birt report throws this error

org.eclipse.datatools.connectivity.oda.OdaException: Exists two 1-to-n maps where one is not transitional from the other.
at org.eclipse.birt.data.oda.pojo.impl.internal.ResultSetFromPojoInstance.pushNextableRelayReferenceNode(ResultSetFromPojoInstance.java:194)
at org.eclipse.birt.data.oda.pojo.impl.internal.ResultSetFromPojoInstance.fetchRelayReferenceNodeValue(ResultSetFromPojoInstance.java:141)
at org.eclipse.birt.data.oda.pojo.impl.internal.ResultSetFromPojoInstance.fetchReferenceValues(ResultSetFromPojoInstance.java:115)
at org.eclipse.birt.data.oda.pojo.impl.internal.ResultSetFromPojoInstance.<init>(ResultSetFromPojoInstance.java:51) ...

IF i delete one of the list object the report will be generated but once i try to add and access the second list object then i get the above error.

Pls can anyone point me to how i can resolve this problem. I have search but with no avail.

Or how i can write a script to fix this
Previous Topic:Is birt able to support a dateset result of 300,000 + rows???
Next Topic:Upgrading BIRT runtime from 4.5 to BIRT runtime 4.8
Goto Forum:
  


Current Time: Thu Mar 28 11:34:50 GMT 2024

Powered by FUDForum. Page generated in 0.04318 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top