Re: Prefetching Feedback

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Nov 16 2005 - 15:15:40 EST

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-401) improve pk sequence generator"

    Tore,

    Thanks for pointing out to the inconsistencies in the new article.

    > In your previous prefetch wiki page, there was a note: "Joint
    > prefetch adds an extra inner join to the main query. This may
    > result in fewer objects returned than expected." Are this statement
    > still (>= M8) true?

    Yes, this is true - I added this note back.

    > One question about the following code example on the new prefetch
    > wiki page:
    > // after adding a new prefetch, change its semantics to joint
    > query.addJointPrefetch("paintingArray").setSemantics(
    > PrefetchTreeNode.JOINT_PREFETCH_SEMANTICS);
    >
    > Could it happen that "addJointPrefetch" would result in a disjoint
    > prefetch?

    Oops, there is no more "addJointPrefetch". Only "addPrefetch", just
    like in 1.1. I updated the wiki article.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Nov 16 2005 - 15:15:42 EST