[jboss-user] [JBoss Seam] - EntityQuery.refresh does not clear parsedEjbql

milli do-not-reply at jboss.com
Thu May 3 03:15:24 EDT 2007


I'm using the seam generated list class derived from EntityQuery. 

Ex. SubCategoryList

I have added a method to it like

forCategory(int categoryId) to retrieve list of subcategories for a given category id and setting ejbQl to an appropriate query.

I can't reuse the object to pass a different category id to get different lists. I used refresh to clear the state. But it looks like refresh does not nullify parsedEjbql variable therefore it is giving the same list even though you set a different query.

Did anyone come across this issue?

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

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



More information about the jboss-user mailing list