[jboss-user] [JBoss Seam] - EntityQuery
do-not-reply at jboss.com
Wed Feb 14 17:19:25 EST 2007
When you do an @In EntityQuery to bring in a query that you defined in components.xml, does the value of this object contain some kind of cached results of the previous time you ran the query, or is it just the query object itself?
What I'm trying to say is if you inject EntityQuery into a SFSB and use the SFSB in multiple requests, would calling getResultList() or similar on it run the query again and get the latest info from the database, or would it contain cached info from the previous run (being the same instance of the EntityQuery that was run before on the SFSB in a previous request)?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016689#4016689
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016689
More information about the jboss-user