Joined: Mon Aug 06, 2007 12:43 pm Posts: 1
|
Hey guys, can you help me with this exception? I'm mapping a clob oracle type to a string hava type. Below is the exception I get. Is there anyway to easily resolve this 32k issue?
Hibernate version:
3.0.3
Mapping documents:
<property name="binder" type="string">
<column name="binder" sql-type="clob"/>
</property>
Full stack trace of any exception that occurs:
org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access: could not insert: [com.fja.sss.icat.common.bo.StaticBinder]; nested exception is java.sql.SQLException: setString can only process strings of less than 32766 chararacters java.sql.SQLException: setString can only process strings of less than 32766 chararacters at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227) at oracle.jdbc.driver.OraclePreparedStatement.setStringInternal(OraclePreparedStatement.java:4658) at oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:4629) at weblogic.jdbc.wrapper.PreparedStatement.setString(PreparedStatement.java:638) at org.hibernate.type.StringType.set(StringType.java:24) at
Name and version of the database you are using:
Oracle 9i
|
|