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: To fetch the value from CLOB column in Hibernate ?
PostPosted: Mon Aug 10, 2009 5:43 am 
Newbie

Joined: Mon Aug 10, 2009 3:04 am
Posts: 1
Hibernate Version : 3.2.2
In my application ,i have modelled object with column type as a clob.The clob column contains text data.
My requriment is fetch the part of the string from clob column through hibernate api
.It should not return the full value.

For Example if the clob column contains

" Hibernate is the best framework , Easy to Learn ....................."

I will give a clob column name as match criteria and i will pass value only "Easy to Learn" .. .for the column. the API should return the true if clob column contains the passed value ,otherwise it should return the string is not available.

Is there any way we can achieve this in hibernate ? Please let me know if you need any more details

To fetch the value from CLOB column in Hibernate ?


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.