Select from the object, not the Seam component name. select u.login from UsuarioEntity u where u.login=:login View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991084#3991084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991084