users@glassfish.java.net

Re: join fetch bug on Toplink Essentials

From: <glassfish_at_javadesktop.org>
Date: Mon, 13 Aug 2007 06:13:13 PDT

Hi,

  Currently multi-level fetch joins are functionality that goes beyond the JPA specification and as a result, have not been exposed though JPQL in TopLink Essentials.

There is an enhancement request in GlassFish that suggests adding this multi-level fetch join behavior as a query hint.

https://glassfish.dev.java.net/issues/show_bug.cgi?id=1200

  The reason the Enhancement suggests a query hint (rather than JPQL) is so our JPQL parser could follow the spec as strictly as possible. It might be a good idea to either update this enhancement request to suggest supporting this through JPQL, or to add a new enhancement request for this.

  It might also be a good idea to send feedback to the people in charge of the next JPA specification requesting that this kind of behavior be included in the specification.
[Message sent by forum member 'tware' (tware)]

http://forums.java.net/jive/thread.jspa?messageID=230637