[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: EJB2 findByPrimaryKey caches sometimes but not others.

chrismm do-not-reply at jboss.com
Wed Jan 3 06:49:46 EST 2007


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



More information about the jboss-user mailing list