|
Hi, in API docs for org.objectstyle.cayenne.map.AshwoodEntitySorter it says: "...Presently it works for acyclic database schemas with possible multi-reflexive tables. The class uses topological sorting from the Ashwood library."What are multi-reflexive tables? I guess not every reflexive relationship is cyclic. If db row "points" to the same db row then it would be cyclic (for example - someone is his/her own manager), otherwise just reflexive. Is this correct? -Borut On 21.5.2006 19:24, Andrus Adamchik wrote: Cayenne handles correct ordering of operations automatically, based on dependencies derived from relationships.The algorithm has a few limitations though. It can't handle cycles (when Entity A depends on Entity B, but also Entity B depends on Entity A). This probably also includes entities that have relationships to the same entity (I assume this is the case the original post was referring to). |
- Parent/Child Insert ordering (was: Caching problem?) Jeff de Vries
- Re: Parent/Child Insert ordering (was: Caching prob... Tomi NA
- Re: Parent/Child Insert ordering (was: Caching ... Marcin Skladaniec
- Re: Parent/Child Insert ordering (was: Cach... Andrus Adamchik
- Re: Parent/Child Insert ordering (was: ... Jeff de Vries
- Re: Parent/Child Insert ordering (was: ... Jeff de Vries
- Re: Parent/Child Insert ordering (... Jeff de Vries
- Re: Parent/Child Insert ordering (was: ... Borut Bolčina
- Re: Parent/Child Insert ordering (... Andrus Adamchik
- Re: Parent/Child Insert ordering (... Andrus Adamchik
