Jump to content
Changes to the Jaspersoft community edition download ×

How to use data set


2004 IR Help

Recommended Posts

By: macoute3 - macoute3

How to use data set

2005-11-18 00:29

I'm using a report with a subreport.

getMainDataset() return the data set of the main report,

but getDatasets() return null?

 

 

 

 

By: Lucian Chirita - lucianc

RE: How to use data set

2005-11-18 01:09

Hi

 

getDatasets() returns the sub datasets (as in <subDataset> or JRDataset) of the report (excluding the main dataset) and has nothing to do with subreports. What dataset were you expecting to find in the return list?

 

HTH,

Lucian

 

 

 

 

By: macoute3 - macoute3

RE: How to use data set

2005-11-18 01:15

I'm expecting to find the query, fields and parameters of the subreport.

 

 

 

 

By: Lucian Chirita - lucianc

RE: How to use data set

2005-11-18 01:35

You won't.

 

The subreport is specified by an expression whose value is only known at fill time, hence there is no generic way to find out the details of a subreport before fill time. When are trying to get the details of the subreport?

 

 

 

 

By: macoute3 - macoute3

RE: How to use data set

2005-11-18 01:45

Lucian, my problem is linked to the other message JRDataSourceProvider and Hibernate.

I'm using a no standard way to execute the query.

My query is an HQL string, my solution works fine with only one report, but I've a real problem with subreport.

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