SQL Server text Type field error net.sourceforge.jtds.jdbc.clobimpl@66fa192 workaround

Source: Internet
Author: User

1. The Text/ntext field in the SQL Server database, when driven with jtds1.2, will have a problem with getstring () not having a value, and toString () is not available.  

checked the help yesterday. It can be solved by simple configuration. The Uselobs=false parameter is added when the database is connected.  

class such as: <property name= "Connection.url" >jdbc:jtds:sqlserver://127.0.0.1/myrmtes;uselobs=false </property> 
Original:  
http://aawwmate.blog.163.com/blog/static/775282562009830102754913/ &NBSP

2. 
MSSQL text/ntext field returns a value when read is not a string but object: [email protected] 

Then finally found the solution on the Internet, as long as the connection database after the URL with ";uselobs=false " this sentence o.  

has a semicolon "; "

SQL Server text Type field error [email protected] Workaround for

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.