[jboss-user] [J2EE Design Patterns] - Re: Doubt about EntityManager.getResultList result

2007-12-22 Thread kazboom
I have solve the problem!! res is a List View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115171#4115171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115171 ___ jboss-user ma

[jboss-user] [J2EE Design Patterns] - Doubt about EntityManager.getResultList result

2007-12-14 Thread kazboom
Hi everyone, I have a doubt about the result of a query. I have a table like User(id,name,surname,phone) and i want to query this table in my EJB in this way: List res = em.createQuery("select u.id, u.name from User u where u.phone='555321').getResultList(); What kind of object there are inside