Subreport using db2 server - Help please

0

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!

camnott's picture
86
Joined: Mar 10 2017 - 6:24am
Last seen: 1 year 3 months ago

I think, the driver jar file is missing. Did you have it for the server ? 

sadakar - 1 year 4 months ago

Not positive. Where would I find this?

camnott - 1 year 4 months ago

0 Answers:

No answers yet
Feedback
randomness