Steve, Database connection URLs are usually JDBC driver specific. I don't use SQL Server but I imagine that its compatible JDBC drivers have documentation which provide details of how to write a suitable one for your situation. Am I mistaken?
are you using sqlserver 2000 or 2005? connection varies for them, see the coed below. Get appropriate driver from microsoft site.
String connectionstring="jdbc:microsoft:sqlserver://nishanths:1433"; username="abc"; password="abcd"; //use any one of the line according to your sqlserver version //DriverManager.registerDriver(new com.microsoft.sqlserver.jdbc.SQLServerDriver()); //Use For SQL Server 2005
DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver()); //Use For SQL Server 2000 Con = DriverManager.getConnection(connectionstring,username,password);
Thanks,
Nishanth.S
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.