freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Mark Molenda" <mark.molenda AT eds.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: jdbc driver
- Date: Thu, 18 Jan 2001 10:55:11 -0500
When I go to run a select on a SQL Server 6.5 I get the following message:
"SQLException: java.sql.SQLException: No suitable driver"
My code is as follows:
try
{
Class.forName("com.internetcds.jdbc.tds.Driver");
}catch(Exception ex)
{
System.out.println("Can't find Database driver class: " + ex);
return;
}
try
{
String query2 = "select last_update from contact" ;
Connection con2 =
DriverManager.getConnection("jdbc:freetds:goodhostnamehere","sa","password");
Statement stmt2 = con2.createStatement();
ResultSet rs2 = stmt2.executeQuery(query2);
etc...etc...
Does anyone out there have a fix for this?
-
JDBC Driver,
Barnard Foo, 01/03/2001
- <Possible follow-up(s)>
- Re: JDBC Driver, Stefan Bodewig, 01/04/2001
- Re: JDBC Driver, Barnard Foo, 01/04/2001
- jdbc driver, Mark Molenda, 01/18/2001
- RE: jdbc driver, Thomas Pridham, 01/18/2001
- RE: jdbc driver, Molenda, Mark P, 01/18/2001
- Re: jdbc driver, Stefan Bodewig, 01/19/2001
Archive powered by MHonArc 2.6.24.