[jboss-user] [JBoss Cache: Core Edition] - Re: I don't Think I am doing this Correct
I think this is more a JPA/Hibernate question. You need to explicitly tell Hibernate to use the cached results using a query hint. I'd use a named query, though. You'd do: | @NamedQuery( | name="findXXX", | query="from xxx", | [EMAIL PROTECTED](name="org.hibernate.cacheable", value="true"), | @QueryHint(name="org.hibernate.cacheRegion", value="com.xyz"} | ) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137563#4137563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: I don't Think I am doing this Correct
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137555#4137555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: I don't Think I am doing this Correct
Sorry, the persistent unit got cut off. It is: java:/OpsTrackingDS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137554#4137554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user