Oracle can only deal with a string of less than 32,766 characters

  Oracle can only deal with a string of less than 32,766 characters

 

 

================================

© Copyright sweet potatoes Yao June 6, 2019

http://fanshuyao.iteye.com/

 

When exceeding 32766 Oracle when a character string into clob field given:

Caused by: java.sql.SQLException: setString can only handle a string of less than 32,766 characters

 

This is because of the use ojdbc14.jar, need to be updated to ojdbc6.jar, so that we can solve the problem of characters exceeded.

 

ojdbc6 annex or download the official website to download (to log in)

Download the official website:

https://www.oracle.com/technetwork/database/features/jdbc/jdbc-drivers-12c-download-1958347.html

 

 

 

 

================================

© Copyright sweet potatoes Yao June 6, 2019

http://fanshuyao.iteye.com/

 

 

Guess you like

Origin fanshuyao.iteye.com/blog/2441685