Fuse 6.1: Exception "org.hibernate.engine.TypedValue not found by org.apache.servicemix.bundles.ehcache"
Issue
An application running on JBoss Fuse uses a Hibernate NamedQuery
with caching enabled:
@NamedQuery(name = "SomeTable.findBySomething", hints = {@QueryHint(name = "org.hibernate.cacheable", value = "true" )}
The application builds without errors, but fails at runtime, with the following exception in the log:
org.springframework.orm.hibernate3.HibernateSystemException: net.sf.ehcache.CacheException:
java.lang.ClassNotFoundException: org.hibernate.engine.TypedValue not found by org.apache.servicemix.bundles.ehcache;
Environment
- Red Hat JBoss Fuse
- 6.0
- 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.