Hi,
I am using Hibernate 3 and Oracle 10 G. When trying to persist CLOB Object in my application, it is working fine in our environment.
Where as the same code is not working in Client environment. Below is my HBM property and code to set clob type in the application.
Code:
<property column="COMMENTS" name="comments" not-null="false" type="java.sql.Clob" length="10000"/>
persistable.put(key, Hibernate.createClob(value.toString()));
Also the hbm properties configuration
Code:
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
Any help in resolving this would be greatly appreciated.