Skip to Content.
Sympa Menu

freetds - NEWBIE - jdbc connection woes

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Ian Payne" <ian.payne AT nedl.co.uk>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: NEWBIE - jdbc connection woes
  • Date: Mon, 31 Dec 2001 05:43:39 -0500


Is there any documentation or demo available on the means of connecting
with the freetds jdbc driver?

I tried:
Class.forName("com.internetcds.jdbc.tds.SybaseDriver");
...
oConn =
DriverManager.getConnection("jdbc:freetds:sqlserver:myServer:myPort/myDb","myUser","myPwd");

...

also:
Class.forName("com.internetcds.jdbc.tds.Driver"); ...etc.

but get a 'no Suitable Driver' error in both cases. Any help would be
gratefully accepted!

Ian




Archive powered by MHonArc 2.6.24.

Top of Page