Java.sql.Exception:setString can only handle strings of less than 32,766 characters

Source: Internet
Author: User

Java.sql.Exception:setString can only handle strings of less than 32,766 characters

The workaround is to upgrade the OJDBC version and upgrade the original Ojdbc14_10.2.0.2.0.jar to Ojdbc6_11.2.0.1.0.jar this way, the Oracle version is Oracle Database 11g ENTERPRI Se Edition Release 11.2.0.4.0 mvn install:install-file-dgroupid=com.oracle-dartifactid=ojdbc6-dversion=11.2.0.1.0-d Packaging=jar-dfile=d:\logs\ojdbc6-11.2.0.1.0.jar <!--<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.2.0</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.1.0</version>
</dependency>

Classes12.jar-for Java 1.2 and 1.3
Ojdbc14.jar-for Java 1.4 and 1.5
Ojdbc5.jar-for Java 1.5
Ojdbc6.jar-for Java 1.6

Java.sql.Exception:setString can only handle strings of less than 32,766 characters

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.