Jump to content
JasperReports Library 7.0 is now available ×

Using eitherJDBC or XML datasources in one report


magnusgj

Recommended Posts

Hi!

 

I am trying to create a report in iReport that can be filled using either JDBC or XML as a datasource. The idea is to fill the report through a java application and pass a Connection object or a JRXmlDataSource object to fillReport(). I want the report template to be such that it will be correctly filled independently of whether the JDBC or the XML file is the datasource.

 

Any ideas or thoughts on how this can be achieved?

 

Thanks,

Magnus Gran-Jansen

Post edited by: magnusgj, at: 2007/06/07 12:56

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...