|
|
|
Re: Exception while using Birt Joint Dataset [message #966592 is a reply to message #965644] |
Thu, 01 November 2012 04:43 |
|
Can you try recreating the report, from scratch, to see if the issue happens again? If it does, can you attach some sample flat files of data I can use to run this report and see if I can get the same error? Thanks.
Michael
Developer Evangelist, Silanis
|
|
|
|
Re: Exception while using Birt Joint Dataset [message #972308 is a reply to message #972102] |
Mon, 05 November 2012 14:21 |
Naveen V M Messages: 13 Registered: October 2012 |
Junior Member |
|
|
Michael,
Think, I found the reason for this issue. While using the templates with Joint dataset then the column label will be like "Dataset1::Column1", "Dataset2::column2",..etc. I have developed ODA same as CSV ODA available in birt site.
So for Dataset1 & Dataset2, the column label will be returned as "column1","column2"..etc.
While comparing the 2 list in org.eclipse.birt.data.engine.impl.ResultIterator.validateManualBindingExpressions() method, this issue is occurring.
Do we need to set any properties to avoid this issue ??
And, this method (org.eclipse.birt.data.engine.impl.ResultIterator.validateManualBindingExpressions()) is called only when the "DataEngineContext.mode" is MODE_GENERATION or DIRECT_PRESENTATION.
How can we change the mode and What is the difference between these modes??
Thanks,
Naveen.
|
|
|
|
|
Re: Exception while using Birt Joint Dataset [message #975354 is a reply to message #974560] |
Wed, 07 November 2012 20:25 |
|
I don't think there's an issue with the joint dataSet. This issue is probably with whatever changes you made to the flat file oda. In the template you sent me, the fields in the dataSets appear to be D1Column1 and D2Column1, not column1, like you say your changes make them. So, try this, to see if it fixes the issue when there is a joint dataSet. In each dataSet, go to the output columns section and change the alias to "column1", "column2", etc. Maybe that'll get rid of the confusion. If it does, you might go back and look at the changes you made in the ODA. Let me know.
Michael
Developer Evangelist, Silanis
|
|
|
|
Powered by
FUDForum. Page generated in 0.05318 seconds