You cache only the entity, not the query result. And you don't update the entity
that's why you can use read_only cache which supposed to be the fastest.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970617#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...