Free tds jdbc driver with Sybase ASA 6

Craig Spannring Craig.Spannring at
Fri Aug 11 13:12:30 EDT 2000

Helen Dale writes:
 > I have been trying to connect to my ASA from a Java appli but get an SQL 
 > Exception. What am I doing wrong? Can any one help me please?
 > This is what comes out
 > DriverManager.getConnection("jdbc:freetds:sybase://orion/infodata")

Since Sybase doesn't really have a strongly suggested port like
SQLServer does, you almost always need to specify the port number in
the connection string for Sybase.  For instance-


 Life is short.                  | Craig Spannring 
      Bike hard, ski fast.       | cts at
  When all you've got is Perl, everything feels like a smashed thumb

More information about the FreeTDS mailing list