users@glassfish.java.net

Re: Transactions taking too long in _at_OneToMany relation

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 Dec 2009 10:16:23 PST

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