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

Two different database server in one jasper report


priyanka01031983

Recommended Posts

In below SQL query I am not able to use DBlink using jasper report

select column_name from user_tab_columns where table_name = 'order' minus select column_name from user_tab_columns where table_name = 'order@DB_test';

where DB_test is a different server.

 

one server I have connected as below:

 

pic.png.2a4a36d24890ab6faa6e4b537bd1f357.png

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

iReport is no longer being developed nor supported. Please use Jaspersoft Studio instead.

In Jaspersoft Studio'&s "Dataset and Query Dialog", enter you sql statement and at the bottom tab, select "Data preview" and click on "Refresh Preview Data". If data does not show up, it means Jaspersoft Studio does not support DBlink. In this case, you'll have to write your own program that uses JasperReports library.

Link to comment
Share on other sites

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