SQLException - ORA-12224: TNS:no listener
843854Oct 2 2002 — edited Oct 3 2002Hi
My code contains the following lines-
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
DriverManager.getConnection (url,userid,password)
The value of url parameter is - jdbc:odbc:DSNWASHV0 and DSNWASHV0 is Microsoft ODBC for Oracle DSN set up in the computer.
I get the SQLException while executing 2nd line, which is
DriverManager.getConnection (url,userid,password)
The exact error is -
[Microsoft][ODBC driver for Oracle][Oracle]ORA-12224: TNS:no listener
Can anybody please help here.
Thanks