eremmel [
http://community.jboss.org/people/eremmel] created the discussion
"Re: Hibernate Tools + Ehcache"
To view the discussion, visit:
http://community.jboss.org/message/643929#643929
--------------------------------------------------------------
I also noticed the error: java.lang.NoSuchMethodError:
net.sf.ehcache.config.CacheConfiguration.isTerracottaClustered () Z
With hibernate 3.6.9, ehcache-core-2.5.0 and HT plugin for eclipse
org.jboss.tools.hibernate4_0_3.4.0.v20111221-0406-H613-Beta1
When using Hibernate Tools in Eclipse. I share the configuration between Hibernate Tools
and my project settings.
I found at
http://javahigh1.iteye.com/blog/1205893
http://javahigh1.iteye.com/blog/1205893 a solution (thanks to google translate), I like to
share (In is inlike with the remark of Max).
Do not use the new property:
<property name="hibernate.cache.region.factory_class"
value="net.sf.ehcache.hibernate.EhCacheRegionFactory"/>
but the old one:
<property name="hibernate.cache.provider_class"
value="net.sf.ehcache.hibernate.EhCacheProvider"/>
in your configuration.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/643929#643929]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]