只 能處理少於 32766 個字符的字符串

error code [17157]; setString 只 能處理少於 32766 個字符的字符串; nested exception is java.sql.SQLException: setS tring 只能處理少於 32766 個字符的字符串 org.springframework.jdbc.UncategorizedSQLException: Hibernate operation; uncateg orized SQLException for SQL []; SQL state [null]; error code [17157]; setString 只能處理少於 32766 個字符的字符串; nested exception is java.sql.SQLException: se tString 只能處理少於 32766 個字符的字符串 java.sql.SQLException: setString 只能處理少於 32766 個字符的字符串 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java :125)
解決方案: 現場環境使用的oracle版本是10g,ojdbc驅動爲ojdbc14 下載ojdbc6驅動版本,將ojdbc14替換成ojdbc6便可。
相關文章
相關標籤/搜索