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
Hi Raghinii,
Thank you very much for your advice. The project which I plan to do is very similar to web 2.0 picture sharing sites. The picture size may be big or small, depending on user's uploading. At this situation, should I separately save image contents into two database columns (small icon content and full content)? Retrieve small icon content to display thumbnail list (20-30), then retrieve a full icon content to enlarge a full image. Is it right? Thanks again for your help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042716#4042716
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042716