Skip to Content.
Sympa Menu

freetds - Trying to get started

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Mark MacRae <MarkM AT relais-intl.com>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: Trying to get started
  • Date: Fri, 16 Jun 2000 17:13:09 -0400


Please excuse the simple question, but can't even get connected to my
SQLServer. Included below is a snippit of the exception(s) I get:

Exception- java.lang.NullPointerException
Exception- java.lang.NullPointerException
java.sql.SQLException at
com.internetcds.jdbc.tds.Constructors.newConnection(Constructors.java:305)
at com.internetcds.jdbc.tds.Driver.connect(Driver.java:257)
at
java.sql.DriverManager.getConnection(DriverManager.java:517)
at
java.sql.DriverManager.getConnection(DriverManager.java:177)

I compiled the 2.0 version under JDK 1.3. I'm using the following type line
to get connected:

Connection conn =
DriverManager.getConnection("jdbc:freetds:sqlserver://server/database",
"user", "password");

TIA,
mark




Archive powered by MHonArc 2.6.24.

Top of Page