wood burning stoves*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Odbc problem help me
 
Similar Threads
connection url
Establishing Connections to a Data base on a different machine
Oracle ODBC Driver Problems. Please help
oracle9i not being connect
oracle7 .3 &Bridge driver