Skip to Content.
Sympa Menu

freetds - Re: jdbc connection problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Stefanos Karasavvidis <stefos AT multimedia-sa.gr>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: jdbc connection problem
  • Date: Thu, 26 Oct 2000 17:02:28 +0300


try this one
http://athena.cha.forthnet.gr/freetds/driver.jar

this one works for me

sk

Jason Leonard wrote:

> I'm using the latest .jar file and I tried this url now (adding in the
> ;tds=7.0 at the end)
> and I get the same error:
> String url =
> "jdbc:freetds:sqlserver://192.168.1.37/Jason;tds=7.0";
> String user = "sa";
> String password = "";
> Connection myConn = DriverManager.getConnection(url, user, password);
>
> thanks,
> Jason
>
> ----- Original Message -----
> From: "Stefanos Karasavvidis" <stefos AT multimedia-sa.gr>
> To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
> Sent: Thursday, October 26, 2000 4:31 AM
> Subject: [freetds] Re: jdbc connection problem
>
> > 1) have you downloaded the latest snapshot??
> > 2) have you put in your connection url ";tds=7.0" ???
> >
> > Stefanos
> >
> > jleonard AT smith-gardner.com wrote:
> >
> > > I'm hoping that someone can help me out... I get the following error
> using
> > > freetds: (I don't have a constructors.java file... just a .class and .u)
> > >
> > > 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(Unknown Source)
> > > at java.sql.DriverManager.getConnection(Unknown Source)
> > > at
> > > __jspPage4_dbquery_jsp._jspService(__jspPage4_dbquery_jsp.java:44)
> > > at com.orionserver.http.OrionHttpJspPage.service(JAX)
> > > at com.evermind.server.http.HttpApplication.w5(JAX)
> > > at com.evermind.server.http.JSPServlet.service(JAX)
> > > at com.evermind.server.http.d1.si(JAX)
> > > at com.evermind.server.http.d1.forward(JAX)
> > > at com.evermind.server.http.ed.sp(JAX)
> > > at com.evermind.server.http.ed.so(JAX)
> > > at com.evermind.util.f.run(JAX)
> > >
> > > thanks,
> > > Jason
> > > jleonard AT smith-gardner.com
> > >
> > > ---
> > > You are currently subscribed to freetds as: [stefos AT multimedia-sa.gr]
> > > To unsubscribe, forward this message to
> $subst('Email.Unsub')
> >
> > --
> > ======================================================================
> > Stefanos Karasavvidis
> > Electronics & Computer Engineer
> > e-mail : stefos AT multimedia-sa.gr
> >
> > Multimedia Systems Center S.A.
> > Kissamou 178
> > 73100 Chania - Crete - Hellas
> > http://www.multimedia-sa.gr
> >
> > Tel : +30 821 88447
> > Fax : +30 821 88427
> >
> >
> >
> > ---
> > You are currently subscribed to freetds as: [jleonard AT smith-gardner.com]
> > To unsubscribe, forward this message to
> $subst('Email.Unsub')
> >
>
> ---
> You are currently subscribed to freetds as: [stefos AT multimedia-sa.gr]
> To unsubscribe, forward this message to $subst('Email.Unsub')

--
======================================================================
Stefanos Karasavvidis
Electronics & Computer Engineer
e-mail : stefos AT multimedia-sa.gr

Multimedia Systems Center S.A.
Kissamou 178
73100 Chania - Crete - Hellas
http://www.multimedia-sa.gr

Tel : +30 821 88447
Fax : +30 821 88427






Archive powered by MHonArc 2.6.24.

Top of Page