Re: ObjEntity qualifer [was Single Table Inheritance Implementation]

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Apr 07 2004 - 11:51:34 EDT

  • Next message: Mike Kienenberger: "Re: ObjEntity qualifer [was Single Table Inheritance Implementation]"

    On Apr 7, 2004, at 11:44 AM, Mike Kienenberger wrote:

    > Andrus Adamchik <andru..bjectstyle.org> wrote:
    >> the inheritance hierarchy based on the entity qualifier. Yes,
    >> ObjEntity
    >> qualifier is now fully supported, and independent from inheritance for
    >> that matter.
    >
    > I don't quite understand what an "ObjEntity qualifier" is. Can it be
    > used
    > to create a restricting qualifer?

    Yes - this is the same as restricting qualifier.

    > Right now, I can't use prefetching
    > because I've been unable to implement restricting qualifiers via
    > DataContext
    > delegation in such a way that they work with prefetching.

    So doing "query.setQualifier(query.getQualifier().andExp(myQual))"
    doesn't work? Strange...

    Actually great that you brought up prefetching. I haven't tested this
    yet with prefetching scenarios, and I suspect it wouldn't work well. I
    will work on testing/fixing that.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Apr 07 2004 - 11:51:39 EDT