[jboss-dev-forums] [Design of EJB 3.0] - Re: Passivating EJB 3 Stateful Session Beans stops the World
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Oct 22 15:23:16 EDT 2008
I believe you are thinking of org.hibernate.annotations.Cache, which is used for entities. The org.jboss.ejb3.annotation.Cache annotation is new and is used to drive what SFSB cache implementation to use. As Andrew's snippet shows, the presence of @Clustered should drive the addition of @org.jboss.ejb3.annotation.Cache ("StatefulTreeCache") which in turn should result in StatefulTreeCache being used.
But apparently it doesn't. :)
Thanks for the config details; that's what I guessed you were doing, but now I know. Hopefully if I can reproduce.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183962#4183962
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183962
More information about the jboss-dev-forums
mailing list