Invalid Oracle URL specified error
Hi there,
I am trying to get connection to a remote Oracle database using the following string:
String url ="jdbc:oracle:oci7:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = devsvr)(PORT = 1521))(CONNECT_DATA = (SID = eu)))";
String user= "user";
String pswd = "user";
Connection conn = DriverManager.getConnection(url,user,pswd);
I always got such an error, said:
java.sql.SQLException: Invalid Oracle URL specified
Could anybody tell me what's wrong with my code?
Thanks a lot.

