Jump to content
Changes to the Jaspersoft community edition download ×

How to use more than two different object and show into IReport


Recommended Posts

Hello everyone,

I want to use more than two different object and show data into iReport. then is it possible to use more than two object or obect with showing relationship on data.

Please tell me how to write json query to relationship or filtering more then two object.

I want to show report which field belong to more than 2 table. didn't find any query to showing that type of data.

Please help me.

Note :- we use Json Database like pouchdb - couchdb. and json data print on Ireport through jasper server.



Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You will need to use specific data adapters for each dataset and sub-datasets.

In Jaspersoft Studio you will define the Default Data Adapter property and in JasperReports Server this will need to be setup as described in this article http://community.jaspersoft.com/wiki/how-deploy-and-use-data-adapter-jasperreports-server-v56 .

Note that the article talks about an XML data source but it would be the same for JSON data sources or any other data sources.

To build your JSON query I would recommend this article http://goessner.net/articles/JsonPath/ 

I attach a sample that can be imported in your JRS

I hope this helps

Link to comment
Share on other sites

  • 5 years later...

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