[jboss-user] [Clustering/JBoss] - Re: Caching, hybernate and using enums => no go

galder.zamarreno@jboss.com do-not-reply at jboss.com
Tue Jul 14 12:24:16 EDT 2009


If you want an Entity to be cached, I'd suggest you avoid @Replicable and instead configure it with @Cache annotation (see Hibernate/JPA annotations) so that the entity is added to the 2nd level cache. The 2nd level cache use case has been more road tested than what you're trying to do.

See http://www.jboss.org/community/wiki/ClusteredJPAHibernateSecondLevelCachinginJBossAS5 for more info.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243575#4243575

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243575



More information about the jboss-user mailing list