-->
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: Issue in saving xml in XMLTYPE column
PostPosted: Wed Jun 29, 2011 8:58 pm 
Newbie

Joined: Wed Jun 29, 2011 8:40 pm
Posts: 1
when i try to save xml content (which is more than 4k characters)as text in XMLTYPE column, am getting below error:

org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access: SQLException for SQL [insert into SHV_TRC_SHMT_AUD_DTLS (XML_MSG_TEXT, STAT_TYPE, MSG_TYPE, STAT_DESC_TEXT, CRTN_DT, LAST_UPTD_DT, HBNT_VRSN_NBR, SHMT_AUD_DTL_ID) values (?, ?, ?, ?, ?, ?, ?, ?)]; SQL state [72000]; error code [1461]; Could not execute JDBC batch update; nested exception is org.hibernate.QueryTimeoutException: Could not execute JDBC batch update
Caused by: org.hibernate.QueryTimeoutException: Could not execute JDBC batch update

Caused by: java.sql.BatchUpdateException: ORA-01461: can bind a LONG value only for insert into a LONG column

Am using oracle.version 11.2.0.1.0, hibernate :3.6.

If i save xml which is of less than 4k then it is working fine, for xml content more than 4k, its giving this issue.

Any work around for this issue.


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.