You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Michael Bouschen <mb...@spree.de> on 2005/12/07 23:31:54 UTC

Relationship mapping question

Hi,

chapter "15.3 Relationship Mapping" of the spec defines that changes to 
the field mapped via “mapped-by” are not reflected in the datastore. 
Should it be "may not be reflected" because the current wording seems to 
exclude a JDO implementation that supports managed relationships such 
that it keeps both sides of a relationship in sync either at runtime or 
at commit. I'm a little bit worried about ignoring relationship changes, 
just because the user decide to modify the "wrong" side of the 
relationship. However, the last sentence before "Mapping Strategy" 
sounds different "... although the column(s) will be changed during 
commit and will therefore be visible by both sides in the next 
transaction.".

Regards Michael

-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin