• Post Reply Bookmark Topic Watch Topic
  • New Topic

Clob Datatype: Field not getting updated

 
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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!