Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Clob Datatype: Field not getting updated  RSS feed

 
Stanley Walker
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a table which has a CLOB as datatype. As to that effect, i have configured my hbm.xml as



The entity object code is as below:




For update, I am using session.merge(entityobject instance).
I can see that all the values are being updated except the clob content. THe instance passed to the merge method contains the updated value however after commit, a query on the table still shows old data

Please tell me what I am doing wrong.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!