File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Odbc problem help me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Odbc problem help me" Watch "Odbc problem help me" New topic
Author

Odbc problem help me

sivakanth narra
Greenhorn

Joined: Aug 26, 2001
Posts: 2
hai all
i am new to this section ,i have a problem with connecting to oracle by using odbc driver.
First on windows 95 i installed oracle 7.3 and tryed to connect to it using odbc(Microsoft odbc driver for oracle) driver ,when i run my java application an window appears on the screen saying oracle client and network components where not installed and install them.
i uninstall the oracle 7.3 and installed oracle 8 but the same error is comeing .
At last i changed my os from windows 95 to windowsNT and istalled oracle8i ,but the sad thing is i found tha same error
please help me

Himanshu Khanna
Greenhorn

Joined: Aug 15, 2001
Posts: 29
try connecting it using a thin client ..
con = DriverManager.getConnection("jdbc racle:thin:@19.68.16.15:1521:default", "scott","tiger");
replace the I.P , Port no. , DB name , username ,�@pwd according to ur needs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Odbc problem help me