The cache is only aware of database changes made through your EntityManager (if
you are using JPA) or Hibernate (if not).
If you add a record manually and then try to read it through the EntityManager,
you'll get a database read and thereafter the entity will be cached.
What's more of a problem
As an update I use Jboss Cache 1.4.0 "Cayenne" and use with EJB3EntityTreeCache
Service.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210371#4210371
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210371
___