Jump to content
Changes to the Jaspersoft community edition download ×

Do we really need JRDataSourceProvider?


Recommended Posts

By: Welkin Hu - welkinhu

Do we really need JRDataSourceProvider?

2006-03-26 17:42

JasperReports defines JRDataSourceProvider interface. But I can not find how JasperReports uses it.

When JasperReports fill data to report, it wants a JRDataSource object, not JRDataSourceProvider.

I wonder JasperReports does not need JRDataSourceProvider at all. It is only for some 3-party tools, such as iReport?

 

 

 

 

 

By: Bill Kayser - wkayser

RE: Do we really need JRDataSourceProvider?

2006-03-30 15:32

Answer: no

 

 

 

 

By: jasperkan - jasperkannan

RE: Do we really need JRDataSourceProvider?

2006-03-31 14:32

I am using JRDataSourceProvider as datasource for my subreport . Basically the main report data has to be shown as a summary data in the subreport . So i store the Data as collection of type JRDataSourceProvider and pass it to the subreport . The subreport uses this instead of a SQL to display the data.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...