Re: Default Prefetching

From: Marcin Skladaniec (marci..sh.com.au)
Date: Wed May 19 2010 - 05:20:57 UTC

  • Next message: Gary Jarrel: "Re: Default Prefetching"

    Actually I re-read your question. There is no way of specifying a
    default prefetch for a given entity.
    Some time ago I lodged a confusing feature request, I think 'default
    prefetch' can be solution for it.
    (https://issues.apache.org/jira/browse/CAY-1234)
    Cheers
    Marcin

    On 19/05/10 2:11 PM, Gary Jarrel wrote:
    > Hi All
    >
    > Is there a way to define default prefetching on a Persistent object?
    >
    > Eg:
    >
    > If I have:
    >
    > Category -> Products -> Orders
    >
    > I want to call category.getProducts() and automatically prefetch all the
    > Orders for the products which are returned?
    >
    > Thank you
    >
    > Gary
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed May 19 2010 - 05:21:41 UTC