thank u mr. dave..
i already had oracle driver in my classpath
as it comes along with datadirect jdbc driver
and i got no compilation error but giving run
time error.
well, it works fine with sql server when url
of my code is as below:
Class.forName("com.ddtek.jdbc.sqlserver.SQLServerDriver");
Connection con=DriverManager.getConnection("jdbc

atadirect:sqlserver://glkrr:1433;User=sa");
but whereas for Oracle its giving runtime error as
no suitable driver for this code below:
Class.forName("com.ddtek.jdbc.oracle.OracleDriver");
Connection con=DriverManager.getConnection("jdbc

atadirect
racle://localhost:1521;User=scott;Password=tiger");
where my SID=ORCL so, where can i use ORCL string to place. is it in place of localhost..? or where
thanks for the response.