JDBC driver: ntext data cannot be sent...

Bob Kline bkline at rksystems.com
Fri Aug 11 16:00:54 EDT 2000


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/

-- 
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com




More information about the FreeTDS mailing list