db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg von Frantzius <joerg.von.frantz...@artnology.com>
Subject Dependent and element-dependent
Date Thu, 03 Nov 2005 09:49:29 GMT
Hello,

the specification currently is somewhat confusing where it defines the 
meta-data attributes "dependent" and "element-dependent". Concerning 
"dependent" it says:

    "The dependent attribute indicates that the field contains a
    reference that is to be deleted
    from the datastore if the referring instance in which the field is
    declared is deleted, or if the
    referring field is nullified."

Now does that mean that really the *reference* is to be deleted (which 
seems kinda natural to me), or rather the object being referred to? 
Probably the latter?

For collection fields, there is the additional "dependent-element" 
attribute of the "collection" tag. Wouldn't it be enough to have 
"dependent" on the field level? Or what does it mean if the user 
specifies 'dependent="false"' with nested 'element-dependent="true"', or 
vice-versa?

Thanks for any explanations,
Jörg

-- 
__________________________________________________________
Dipl.-Inf. Jörg von Frantzius  |            artnology GmbH
                               |                Milastr. 4
Tel +49 (0)30 4435 099 26      |              10437 Berlin
Fax +49 (0)30 4435 099 99      |  http://www.artnology.com
_______________________________|__________________________


Mime
View raw message