Problem fixed.
I modified my code: 

  |     public void loadRolesList() {
  |             Collection<Roles> list = em.createQuery(
  |                             "select object(r) from Roles r order by 
r.iroleId")
  |                             .getResultList();
  | 
  |             for (Roles roles : list) {
  |                     rolesList.add(new SelectItem(roles.getIroleId(), roles
  |                                     .getStrDescription()));
  |             }
  |     }

Thanks,
Vikram

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121364
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to