incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Connelly <dsconne...@adelphia.net>
Subject How can aggregation be mapped in OCM?
Date Sun, 03 Sep 2006 20:52:08 GMT
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.

       -- Dan

Mime
View raw message