Data Source For Oracle - oracle10g

I am using 64-bit version of windows 7. The only option I have in it, for creating Data SOurce is for Microsoft SQL server 2005. Hence, I am not in position to create ODBC for oracle. Is there any other way by which I can create the ODBC Data Source. I need the same for JDBC. Thank You.

Just install the Oracle Instant Client from the Oracle website.

To make Data Source for Oracle in 64 Bit windows operating system, go to
C:\Windows\SysWOW64\
And use odbcad32.exe file. Double click it and the option to make dsn will come, even for Oracle.

Related

How can I tell SQLDeveloper which version of JDBC to use?

I need to connect to an Oracle 9i server from my machine using SQLDeveloper. I already have a functioning version of SQLDeveloper 18.2 + Oracle Client 12 for more modern databases, but for this connection I want a separate older version of SQLDeveloper.
I've installed SQLDeveloper 3.2.20.09 in a separate folder on my machine and can launch it, but it defaults to finding the ojdbc6.jar file from Oracle Client 12. if I go to Help > About and select properties, the jdbc.library says jdbc.library /C:/app/client/product/12.1.0/client_1/jdbc/lib/ojdbc6.jar
and if I try to connect I get the error ORA-01460: unimplemented or unreasonable conversion requested
I tried putting the path to the SQL Developer 3.2 install first in the PATH variable, but no difference. Is there a way to tell SQL Developer which jdbc driver to use for Oracle ? (maybe in sqldeveloper.conf)
The official answer is:
use the jar (driver) we ship with the product OR
use a Thick Client, and we'll pull the jdbc driver from an Instant Client or Oracle HOME on your machine
The 2nd option will work so long as you don't try to go back back or forward in time to the point that the software will recognize/support the driver.
In other words, you can't tell SQL Developer 18.x to use a 9i Home, we have a hard dependency to require at least a 11gR2 client (I believe, it could actually be a 12c based client which is required).
You'd be better off getting your data out of that ancier 9i Database and into a modern 12 or 19c Oracle instance.
but it defaults to finding the ojdbc6.jar file from Oracle Client 12.
Sounds like you've managed to get a thick connection defined, go into preferences and disabled on the advanced page any reference to OCI or Thick, then it will use the jdbc driver shipped with SQLDev.

Actuate 10 Information Object Designer with postgresql

I cannot figure out how add a new Data Connection Definition in Actuate 10 Information Object Designer. The odbc is postgresql but when I input a Data Connection Definition Type, postgresql is not an option.
is this becuase Actuate 10 is too outdated? It is hard to find any infomration on this since most Actuate users use BIRT now.
Any information on the Actuate 10 Information Object Designer, or materials I could read would be helpful.
Most likely you need to install the PostgreSQL ODBC driver.
One wrinkle there is that you might have a 64-bit system, and have installed the 64-bit PostgreSQL ODBC driver. If Actuate is a 32-bit executable it won't see the 64-bit driver. You will need to install the 32-bit PostgreSQL ODBC driver as well.
(The reverse is also true btw - 64-bit programs can't use the 32-bit driver either).

Oracle Driver Installation

I am having Oracle 10g installed on my laptop and have downloaded ojdbc14.jar driver for the same. The problem is, my operating system is Windows 7, and I'm not having option to create a Data Source for Oracle since I m not having oracles driver installed. I m having option to create a Data Source for SQL server 6, but I want to get connected to Oracle. Please Help.
By 'Data Sources', I'm guessing that you mean Data Sources (ODBC), under Control Panel > Administrative Tools. Is this correct?
I've set up ODBC Data Sources that connect to Oracle databases before, but to do that I've needed the Oracle client to be installed. However, if you're having the full database installed on your laptop (as your question suggests), you won't need the client - that's only used to connect to databases running on other machines. I believe the full database contains everything in the client, so you should be able to set up an ODBC Data Source pointing to the database on your laptop once the database has been installed.
The ojdbc14.jar just contains the JDBC classes to talk to an Oracle database, and only programs written in Java (and other languages that run on the JVM such as Scala, Groovy or Clojure) can use it. This jar on its own not enough to be able to set up an ODBC data source.
Oracle currently has 1 version that is certified for windows 7. That version is 11.2. They have indicated that they plan to certify 10.2.0.5 if this happens there will likely be a patch that will be needed.
This is probably why the Data Source does not work, either ODBC or OLEDB.
Another possibility is that you have installed the 32bit version of Oracle and your OS is 64bit then you would need to use the 32bit Data Source administrative tools.
I have figured out the solution for my problem. All that I needed to do is put ojdbc14.jar file in my class path and then I was able to use it. Though by doing so, I needed to make some change in the code. I was no more able to use Class.forName("sun.jdbc.odbc.JdbcOdbcDriver") instead I needed to use Class.forName("oracle.jdbc.OracleDriver") also instead of using my data source as "jdbc:odbc:somename" I needed to use jdbc:oracle:thin:#localhost:1521:xe.

CR Oracle ODBC driver

I have Crystal report 10 and need to connect to oracle db. Am looking for
CR Oracle ODBC driver. Where can i get it from.Please help.
You have to install your ODBC driver in Windows by going to Control Panel, then Administrative Tools, then Data Sources (ODBC).
Click the Add button, and you should see Microsoft ODBC for Oracle as an available choice. Installing this driver does require that you have the correct Oracle drivers installed first. Once you have finished installing, Crystal Reports must be restarted to see the change.
Once these steps are completed you should have Oracle Database in your list of choices for an ODBC connection in CR.

Good OleDB/ODBC provider for PostgreSQL

I'm in need of a functional OleDB data provider for PostgreSQL. It should be similar to the ODBC provider for MySQL. See http://dev.mysql.com/downloads/connector/odbc/5.1.html
The postgres software catalog has some providers on there.
dotConnect for PostgreSQL (from Devart) offers a pretty good one. It is fast and works. The free version will give you your basic ADO.net support, the pay offers everything else. ODBC doesn't have a free version.
http://www.devart.com/dotconnect/postgresql/
edit
Adding the direct link to the ODBC connector as it is on a separate page.
https://www.devart.com/odbc/postgresql/
If you want to check the last version of ODBC for PosgreSQL :
http://www.postgresql.org/ftp/odbc/versions/
Enter in the "msi" folder for the installer.
But be careful, when you are using ODBC, there is a 32bits and a 64bits version. So choose the right one.