[jboss-user] [JBoss Tools] - Re: Hibernate Tools + Ehcache
eremmel
do-not-reply at jboss.com
Fri Dec 30 07:19:19 EST 2011
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&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111230/a6e721d4/attachment-0001.html
More information about the jboss-user
mailing list