[jboss-user] [JBoss Seam] - Re: Commit after component method is called

monkeyden do-not-reply at jboss.com
Thu Nov 2 10:47:08 EST 2006

Quite simple really.  I don't even want to save the entities from the original query.

Query query = em.createNamedQuery("from ViewLocationArea order by town, rank, area");
  | List<ViewLocationArea> results = query.getResultList();
  | List<SelectItem> locations = new ArrayList<SelectItem>();
  | for(int i=0;i< results.size();i++){
  |     //Traverses the List and creates SelectItems for "locations" list
  |     ...
  | }

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

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

More information about the jboss-user mailing list