Jump to content
We've recently updated our Privacy Statement, available here ×

Connections to several databases


2004 IR Help

Recommended Posts

By: sandra81 - sandra81

Connections to several databases

2005-03-09 02:46

Hi !!

I would to know if JasperReport can connect to several databases in the same time to export a report with data of 3 databases for example.

 

Thanks in advance.

 

 

 

 

By: C-Box - c-box

RE: Connections to several databases

2005-03-09 03:16

it can be done with CustomDataSources that you must provide/fill BEFORE you fill the report actually.

With a connection it's not possible (AFAIK).

 

So you could easily fill the first CustomDataSource from DataBase 1 and the second CustomDataSource from DataBase 2 and so on. In your report you pass all these datasources via parameter when filling ... in your design you can access/connect them via SubReports for example.

 

hth

C-Box

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