Or this? em.createQuery("select object(o) from ElementoGerenciado o").getResultList(); Note that i have removed 'as' from that query View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102322#4102322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102322