-->
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.  [ 2 posts ] 
Author Message
 Post subject: Clobs are not cacheable--------help.....
PostPosted: Mon Feb 20, 2006 6:22 am 
Newbie

Joined: Tue Feb 07, 2006 2:02 am
Posts: 12
Hi

I am using Hibernate 3.0.1 and Tangosol in my application.

In my table there is a column type Clob....

when i integrate tangosol with my code it throws me an exception called "java.lang.UnsupportedOperationException: Clobs are not cacheab
le"...........

please help me to find the solution......how to cache clob type....

i tried using the USerType which is provided by hibernate...
http://www.hibernate.org/56.html

it gives me ClassCastException......

Please suggest me... what i need to do.....

_________________
Regards
.....Hiisi.....


Top
 Profile  
 
 Post subject: clobs
PostPosted: Mon Feb 20, 2006 7:22 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
It looks like Tangosol's issue and has little to do with H.
I see reason not to cache CLOBs in general: they might be really BIG and it will kill cache performance. I think it would make more sense to do CLOBs caching at the application level rather than at the frameworks level.

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

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.