Error with varchar(max) column when using net.sourceforge.jtds.jdbc.Driver

Posted by Rihan Meij on Stack Overflow See other posts from Stack Overflow or by Rihan Meij
Published on 2010-01-25T05:29:55Z Indexed on 2010/04/21 18:43 UTC
Read the original article Hit count: 287

Filed under:


I have a MS SQL database running (MS SQL 2005) and am connecting to it via the net.sourceforge.jtds.jdbc.Driver.

The query works fine for all the columns except one that is a varchar(max). Any ideas how to get around this issues?

I am using the jdbc driver to run a data index into a SOLR implementation.

(I do not control the database, so the first prize solution would be where I can tweak the SQL command to get the desired results)


© Stack Overflow or respective owner

Related posts about solr

Related posts about jdbc-driver