db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Relationship mapping question
Date Wed, 07 Dec 2005 22:31:54 GMT
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			


Mime
View raw message