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)
|