do you have an index on the phonenumber table for the foreign key?
On Fri, Dec 11, 2009 at 7:16 PM, <glassfish_at_javadesktop.org> wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>