Apache JDO Project - Relationship mapping question

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > December 2005 > Relationship mapping question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Relationship mapping question
Michael Bouschen

2005-12-07, 5:45 pm

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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com