Skip to Content.
Sympa Menu

freetds - Re: JDBC driver: ntext data cannot be sent...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Bob Kline <bkline AT rksystems.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Cc: Craig Spannring <freetds-jdbc-bugs AT internetcds.com>
  • Subject: Re: JDBC driver: ntext data cannot be sent...
  • Date: Mon, 14 Aug 2000 09:20:55 -0400 (EDT)


Excellent!

It's probably not reasonable to expect all potential users of the driver
to have followed the traffic on the mailing list (or to have read the
source code) sufficiently thoroughly to know what options are currently
available. How about a line in the README to let people know how to
turn on TDS 7.0? Something like:

The option string ";tds=7.0" can be appended to the connection URL
following the database name to cause the driver to use version 7.0
of the TDS protocol.

Bob

On Mon, 14 Aug 2000, Stephanie Lewis wrote:

> Thanks a lot Bob! That did the trick!
>
> Cheers,
> Steph
>
> Bob Kline wrote:
>
> > On Fri, 11 Aug 2000, Stephanie Lewis wrote:
> >
> > > Anyone have any thoughts?
> > >
> > > I'm getting the following error when trying to retrieve data of type
> > > ntext:
> > >
> > > java.sql.SQLException: ntext data cannot be sent to
> > > clients using DB-Library(such as ISQL) or ODBC earlier than 3.7or
> > > earlier.
> > >
> > > I'm using SQL Server 7.0 on WindowsNT Server, and have compiled the
> > > "freetds.jdbc.snapshot.zip" taken from the FreeTDS site that was dated
> > > Aug 4/2000. The FreeTDS driver is being run on WindowsNT WorkStation. I
> > > changed the following code in an attempt to solve the problem:
> > >
> > > In Tds.java I changed the line: ......
> > [snip]
> >
> > Put the code all back the way it was, recompile (or just pick up
> > freetds_jdbc.snapshot.jar from [1]), append ";tds=7.0" to your
> > connection URL, and try again.
> >
> > [1] ftp://freetds.internetcds.com/pub/freetds_jdbc/





Archive powered by MHonArc 2.6.24.

Top of Page