Hibernate with clob type
5 pts.
0
Q:
Hibernate with clob type
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 [17090]; 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?
ASKED: Mar 19 2009  12:12 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
29820 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Have a look at the following page. Hopefully you will find the answer there.

I would recommend to read the "Beware - lots of info on this page outdated!" section first.

Using Clobs/Blobs with Oracle and Hibernate
Last Answered: Mar 19 2009  2:55 PM GMT by Carlosdl   29820 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0