How to use iReport with Oracle?

Asked

Viewed 733 times

0

1 answer

1


I usually do like this:

  1. I’m going on option Tools in the menu bar;

inserir a descrição da imagem aqui

  1. Then on the option Ireport and on the tab Classpath

inserir a descrição da imagem aqui

  1. Then click add Jars, then you locate the oracle driver. Located and added, click ok

inserir a descrição da imagem aqui

After that, when you try to add an oracle driver connection, it will be enabled.

inserir a descrição da imagem aqui

Then you put the connection data

That’s what I do

I hope I’ve helped

  • could you show me the connection data as well ? I’m having the error: Exception Message: java.sql.Sqlexception: Listener refused the Connection with the following error: ORA-12505, TNS:Listener does not Currently know of SID Given in connect Descriptor

  • 1

    Connection data varies from company to company: it is only you fill in according to your need, for example: jdbc:oracle:thin:@ip-do-servidor:1521:nome-do-banco-ou-servico In the Server Address field (Server Address), you put the ip of your server, in Database, the name of the bank or service, and finally the login and password and click test or save

  • 1

    check also your tsname

  • I tried to do as you suggested, still could not, I edited the question and added an image to illustrate the error, if you can look and give me a new "opinion" about.

  • 1

    I tried to simulate the error and managed to change something, for example, I changed the port and gave this same error, check with detail, the name of the bank, the port, the server, anyway.

  • thank you, it worked !

  • 1

    Cool! , good that worked

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.