c.getPhoneNumbers() is simple getter that returns attribute phoneNumbers and findAll() is automatically generated method that consits of
return em.createQuery("select object(o) from Contact as o").getResultList();
where em is EntityManager.
[Message sent by forum member 'mkcm' ]
http://forums.java.net/jive/thread.jspa?messageID=376030