Re: [OT-kinda] How to perform equivalent of Cayenne prefetching for pure JPA application?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Dec 19 2008 - 03:14:50 EST

  • Next message: Andrus Adamchik: "Re: Two tables with the same name in two different data model !"

    On Dec 18, 2008, at 11:51 PM, Mike Kienenberger wrote:

    > Ugh. I sent this to the incubator list by accident the first time.

    There's a redirect, no worries - it got delivered.

    > ---------- Forwarded message ----------
    >
    > Is there a way to perform the equivalent of Cayenne prefetching for a
    > pure JPA application?

    Yes, there is something called FETCH JOIN in EJBQL (section 4.4.5.3 of
    the JSR-220). For the record Cayenne provider does not support FETCH
    JOIN yet.

    > I've just started working with a JPA project,

    Ugh, maybe you'll have some interest now in advancing Cayenne JPA
    provider :-)

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Dec 19 2008 - 03:15:25 EST