1 Reply Latest reply on May 3, 2007 5:16 AM by Pete Muir

    EntityQuery.refresh does not clear parsedEjbql

    Milli Coelho Newbie

      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?