java.sql.SQLException: setString can only process strings of less than 32766 chararacters

Oracle Community | 529437 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    schema based XML versioning

    Oracle Community | 1 decade ago | 529437
    java.sql.SQLException: setString can only process strings of less than 32766 chararacters

    Root Cause Analysis

    1. java.sql.SQLException

      setString can only process strings of less than 32766 chararacters

      at oracle.jdbc.driver.DatabaseError.throwSqlException()
    2. Oracle jdbc
      OracleCallableStatement.setCharacterStream
      1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
      2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
      3. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
      4. oracle.jdbc.driver.OraclePreparedStatement.setStringInternal(OraclePreparedStatement.java:4746)
      5. oracle.jdbc.driver.OraclePreparedStatement.setCharacterStreamInternal(OraclePreparedStatement.java:8617)
      6. oracle.jdbc.driver.OracleCallableStatement.setCharacterStream(OracleCallableStatement.java:4637)
      6 frames