freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Craig Spannring <Craig.Spannring AT aedinc.net>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: Free tds jdbc driver with Sybase ASA 6
- Date: Fri, 11 Aug 2000 11:12:30 -0600 (MDT)
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-
DriverManager.getConnection(jdbc:freetds:sybase://orion:1500/infodata");
--
=======================================================================
Life is short. | Craig Spannring
Bike hard, ski fast. | cts AT internetcds.com
--------------------------------+------------------------------------
When all you've got is Perl, everything feels like a smashed thumb
=======================================================================
-
Free tds jdbc driver with Sybase ASA 6,
Helen Dale, 08/11/2000
- <Possible follow-up(s)>
- Re: Free tds jdbc driver with Sybase ASA 6, Bob Kline, 08/11/2000
- Re: Free tds jdbc driver with Sybase ASA 6, Michael Maraya, 08/11/2000
- Re: Free tds jdbc driver with Sybase ASA 6, Craig Spannring, 08/11/2000
- Re: Free tds jdbc driver with Sybase ASA 6, Helen Dale, 08/14/2000
- Re: Free tds jdbc driver with Sybase ASA 6, Helen Dale, 08/14/2000
- Re: Free tds jdbc driver with Sybase ASA 6, David Powers, 08/14/2000
- Re: Free tds jdbc driver with Sybase ASA 6, Lance Andersen, 08/14/2000
- Re: Free tds jdbc driver with Sybase ASA 6, Bob Kline, 08/14/2000
- Re: Free tds jdbc driver with Sybase ASA 6, nadeem, 08/14/2000
- Re: Free tds jdbc driver with Sybase ASA 6, nadeem, 08/14/2000
Archive powered by MHonArc 2.6.24.