File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes odbc.ini not to create mine? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "odbc.ini not to create mine?" Watch "odbc.ini not to create mine?" New topic

odbc.ini not to create mine?

raghavendra raghu

Joined: Sep 01, 2012
Posts: 16
hi all,
Im using Oracle linux 6.3..where there is no sort of odbc.ini or sys.odbc.ini to set up our own DSN(neither the default DSN).I want to use my type-1 odbc driver for making a java program to contact with my oracle 11g Express edition instance.Tired of many ways to set up DSN in linux on internet,but all went in wain(Because all of them teach me to edit odbc.ini file,which was not present).
You can recommend using unix odbc package,but why should I have to install it as type1 odbc driver requires no additional software?.please help me to set up my own DSN file.Thank You.
Martin Vajsar

Joined: Aug 22, 2010
Posts: 3733

I think you're a bit mistaken. The type 1 driver does require an ODBC driver manager, and (as far as I know) there is no ODBC driver bundled with unix distributions. In any case, you should avoid the type 1 driver whenever possible.

The type 4 driver is the one which does not need any other software to run. Get the type 4 driver for Oracle (see our Oracle FAQ page for download links).
I agree. Here's the link:
subject: odbc.ini not to create mine?
It's not a secret anymore!