This was due to the fact that the AS only caches data when its accessed, not 
when findByPrimaryKey is called. One of the tests printed out the returned 
entity (and hence it was cached) and the other didnt (and hence it wasnt 
cached).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997503#3997503

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997503
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to