On 9/3/06, Dan Connelly <[EMAIL PROTECTED]> wrote:
How do you express aggregated, not contained, bean references in the OCM?

An aggregate bean ref would (presumably) get persisted as a uuid uri,
not as a content sub-node.    (Path references might be okay instead of
uuids.)

If I map naively with two classes that where each has the other as a
bean element, then pm.insert(rootObj) will traverse this loop
endlessly.   The rootObj class has proper containment of both these
mutually referencing classes.


I think you should use a custom bean descriptor to take care of this
kind of mapping.

./alex
--
.w( the_mindstorm )p.

       -- Dan

Reply via email to