-->
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: java.lang.UnsupportedOperationException: Clobs are not cache
PostPosted: Fri Apr 16, 2010 11:16 am 
Newbie

Joined: Fri Apr 16, 2010 11:10 am
Posts: 1
Hi,
I'm having one entity as EDIRequest and child as EDIRequestArchive. In archive entity I've 4 CLOB fields. Whenever I'm fetching(not through session.load, using normal HQL) fields from EDI Request (not archive), its throwing below errors in JBoss server. The same code is running fine in Oracle Full Suite.
java.lang.UnsupportedOperationException: Clobs are not cacheable
at org.hibernate.type.ClobType.disassemble(ClobType.java:84)
at org.hibernate.type.TypeFactory.disassemble(TypeFactory.java:422)
at org.hibernate.cache.entry.CacheEntry.<init>(CacheEntry.java:46)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:74)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)


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.