[jboss-user] [JBossCache] - Re: EJB3.0 cache

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Sep 13 06:07:46 EDT 2006


1)  If you can guarantee that EventText is never updated (either from your app or directly in the db) this *should* be ok (looking at how Hibernate behaves with READ_ONLY entities), although I've never tried it myself.

2)  A query cache will help you here.

To use JBC with Hibernate, the cache mode must either be READ_ONLY or TRANSACTIONAL (see table 19.2 here: http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-cache-transactional).

Also, refer to http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheHibernate    for more info on JBC/Hibernate



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971233



More information about the jboss-user mailing list