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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...