Now after lots and lots of debugging I can confirm that the cache becomes empty after I
user createNativeQuery() method of the EntityManager class. When I replace it by
createQuery() method, cache looks like fine, without suddenly going to 0.
Could this be the reason??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206128#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...