Fuse 6.1: Exception "org.hibernate.engine.TypedValue not found by org.apache.servicemix.bundles.ehcache"

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content