I am using clob of oracle 10 g in hibernate. When i tried to insert 5000lines of HTML code to the variable in jave, i am getting the following error;
Caused by: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not insert: [com.citi.gicap.bpm.ver.domain.Notes]; uncategorized SQLException for SQL [insert into notes1 (REQUEST_ID, NOTES_TEXT, USER_ACTION, ACTIVITY_NAME, ATTCH_REFS, INSERT_ID, INSERT_DATE, UPDATE_ID, UPDATE_DATE, NOTES_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; SQL state [null]; error code ; operation not allowed: streams type cannot be used in batching; nested exception is java.sql.SQLException: operation not allowed: streams type cannot be used in batching
notes_text is CLOB type.
Can you please check and give me solotion for this?
March 19, 2009 12:12 PM
December 21, 2010 9:05 AM