lazy loading - easy question

From: Michał Morzywołek (nirwan8..mail.com)
Date: Tue Jun 03 2008 - 12:49:40 EDT

  • Next message: Michael Gentry: "Re: lazy loading - easy question"

    Let's say i got class A with collection of class B in it.
    When i read objact a (of class A) from db the collection is not loaded at
    first(due to lazy loading).
    1. How can i disable lazy loading - so the collection would be always
    loaded?
    2. How to use resolveFault() or the new prepareForAccess() method to load
    the collection?

    Looked into the documentation but i didn't find any explanation :(
    Thank you for all your help
    Mike



    This archive was generated by hypermail 2.0.0 : Tue Jun 03 2008 - 12:50:14 EDT