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

Subreport using db2 server - Help please


camnott

Recommended Posts

Hello,

I need help with a subreport connection. I have a main report using a different data source, and am trying to connect via connection expression as follows :

java.sql.DriverManager.getConnection("jdbc:db2://hostname/db", "username", "password")

When I am in jaspersoft studio, it seems to work, at least the query functions... However, from Clarity Advanced Report I keep getting : 

"Error when evaluation expression: java.sql.DriverManager.getConnection("jdbc:db2://hostname/db", "username", "password")"

I really need to get this worked out, as I have used something similar in the past... not sure why this is not working in Clarity.

 

Thank you!

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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