freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Blackened" <matthew AT deltapoint.co.uk>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: RE: Nullpointer exception
- Date: Mon, 17 Sep 2001 23:09:37 +0100
try {
Class.forName("com.internetcds.jdbc.tds.Driver");
java.sql.Connection con = java.sql.DriverManager.getConnection(url,
username, password);
}catch (Exception e){
throw(new UnavailableException(this, "Database connection
failure"));
}
replace url with:
jdbc:freetds:sqlserver://host:port/database
user/password are for access to sql server, via sql server authentication.
-----Original Message-----
From: bounce-freetds-136065 AT franklin.oit.unc.edu
[mailto:bounce-freetds-136065 AT franklin.oit.unc.edu]On Behalf Of Progwiz
Sent: 13 September 2001 22:29
To: TDS Development Group
Subject: [freetds] Nullpointer exception
Hello,
I think I've brought this up before, but I am curious if anyone may have any
ideas or suggestions.
I have downloaded the latest freetds_jdbc.jar from freetds.org, pointed
classpath to it etc etc...
When I try to use it, to create a connection, it throws
java.lang.NullPointerException
java.sql.Exception
I have jdk 1.3 installed, running on win2k.
If anyone knows what it is that I'm missing here, please let me know. Thanks.
---
You are currently subscribed to freetds as: [blackened AT manx.net]
To unsubscribe, forward this message to $subst('Email.Unsub')
-
Nullpointer exception,
Progwiz, 09/13/2001
- <Possible follow-up(s)>
- RE: Nullpointer exception, Blackened, 09/17/2001
- RE: Nullpointer exception, mlontsman, 09/18/2001
Archive powered by MHonArc 2.6.24.