Jump to content

How to write an iReport subreport connecting to an Oracle database?


Recommended Posts

Hi all,

I am trying to write a report with subreport, connecting to two Oracle databases. The main report without subreport is working, the subreport alone is also working, also other single reports connecting the secondary database are successful.

I included the subreport into the main report, but I get: java.sql.SQLException: ORA-12705: Cannot access NLS data files or invalid environment specified

I assume that my connection expression string is not correct. What do I have to pass to connect to the secondary Oracle database, if the values are:

Server IP address:

JDBC driver: oracle.jdbc.driver.OracleDriver

Port: 1521

SID: orcl

username: user

password: pass


Or what else causes the ORA-12705, if it is not the wrong connection expression?

Thanks and best regards


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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