This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
What are you passing to the method? We need to see some code in order to be able to help. The method call locates and loads the DB driver, and it expects a string. Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Jun 05, 2001
String url = "jdbc dbc://localhost/servers"; //can't get rid of the smiley! Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection(url); I have tried substituting with a String and leaving it blank. Both give the same error. Cheers
[This message has been edited by Nizan Horsefield (edited July 11, 2001).] [This message has been edited by Nizan Horsefield (edited July 11, 2001).]