Re: svn commit: r729697 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/select: EntitySegmentBuilder.java EntityTreeSegmentBuilder.java

From: Aristedes Maniatis (ar..aniatis.org)
Date: Sat Dec 27 2008 - 21:47:24 EST

  • Next message: Andrus Adamchik: "Re: svn commit: r729697 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/select: EntitySegmentBuilder.java EntityTreeSegmentBuilder.java"

    On 28/12/2008, at 11:11 AM, aadamchi..pache.org wrote:

    > +++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/
    > java/org/apache/cayenne/access/select/EntitySegmentBuilder.java Sat
    > Dec 27 16:10:59 2008
    >.. -30,7 +30,7 @@
    > import org.apache.cayenne.query.QueryMetadata;
    >
    > /**
    > - * Builder of the leaf entity segment that has no persistent
    > subclasses or superclasses.
    > + * Builder of an entity segment that has no persistent subclasses
    > or superclasses.
    > *
    > *..ince 3.0
    > */
    >

    What does an EntitySegment represent? Is it one database table, such
    when inheritance is not used, there is only one EntitySegment per
    query, and when it is used there is one EntitySegment per table which
    is JOINed in the query?

    Ari

    -------------------------->
    Aristedes Maniatis
    phone +61 2 9660 9700
    PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8



    This archive was generated by hypermail 2.0.0 : Sat Dec 27 2008 - 21:48:18 EST