Default Prefetching

From: Gary Jarrel (garyjarre..mail.com)
Date: Wed May 19 2010 - 04:11:17 UTC

  • Next message: Marcin Skladaniec: "lifecycle callbacks, order of execution"

    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 - 04:11:50 UTC