Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Eclipse Foundation » merging two pojo datasource into single report (DataSourceHandle is not adding to target report)
merging two pojo datasource into single report [message #1797042] Wed, 24 October 2018 11:39 Go to next message
Madhusudhana Reddy Chittem is currently offline Madhusudhana Reddy ChittemFriend
Messages: 1
Registered: October 2018
Junior Member
String targetRptFile = System.getenv("LOCAL_BIRT_INPUT") + "/"+report.getMergeRptTemplates().getTargetTemplate()+".rptdesign";
String attachRptFile = System.getenv("LOCAL_BIRT_INPUT") + "/"+report.getMergeRptTemplates()

DesignConfig dConfig = new DesignConfig();
IDesignEngineFactory factory = (IDesignEngineFactory) Platform.createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
IDesignEngine dEngine = factory.createDesignEngine(dConfig);
SessionHandle session = dEngine.newSessionHandle(null);
ReportDesignHandle targetRptDesignHandle = null;
ReportDesignHandle attachRptDesignHandle = null;
try {
targetRptDesignHandle = session.openDesign(targetRptFile);
attachRptDesignHandle = session.openDesign(attachRptFile);
} catch (DesignFileException e) {

OdaDataSourceHandle attachOdaDataSourceHandle = (OdaDataSourceHandle)attachRptDesignHandle.getAllDataSources()

String newTargetRptFile = System.getenv("LOCAL_BIRT_INPUT") + "/"+report

try {
} catch (IOException e) {
Re: merging two pojo datasource into single report [message #1797304 is a reply to message #1797042] Mon, 29 October 2018 16:44 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32163
Registered: July 2009
Senior Member
It's better to post on the BIRT forum:

Ed Merks
Professional Support:
Previous Topic:Exclusions from Market Place Client
Next Topic:Recommendations to mass deploy Eclipse plugin to 1000's of users with-in a company
Goto Forum:

Current Time: Fri Jan 28 10:07:06 GMT 2022

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

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

Back to the top