-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: setString can only process strings of less than 32766 chars!
PostPosted: Mon Aug 06, 2007 12:51 pm 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.