[OASIS Issue Tracker] Updated: (ODATA-411) Reconsider placement and semantics of OnDelete element

From
OASIS Issues Tracker <>
Date
2013-05-31T07:13:32+00:00
ID
1219467369.15651369984400963.JavaMail.tomcat55@mw00
Thread
[OASIS Issue Tracker] Updated: (ODATA-411) Reconsider placement and semantics of OnDelete element
[ http://tools.oasis-open.org/issues/browse/ODATA-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-411:
-----------------------------

    Proposal: 
Place OnDelete on principal side to allow expressing existential dependency in containment without needing a backlink to the containing type, see ODATA-406

Accepted: https://www.oasis-open.org/committees/download.php/49375/odata-meeting-39_on-20130530-minutes.html#odata-411

  was:Place OnDelete on principal side to allow expressing existential dependency in containment without needing a backlink to the containing type, see ODATA-406


> Reconsider placement and semantics of OnDelete element
> ------------------------------------------------------
>
>                 Key: ODATA-411
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-411
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL
>    Affects Versions: V4.0_CSD01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.0_CSD02
>
>
> Currently the OnDelete element is on the dependent side and specifies "what happens here if over there the last thing goes away", i.e. an observer/event subscription pattern. This may have been inspired by SQL's ON DELETE, which is also specified on the dependent side.
> The "original" OnDelete element of OData V2/V3 seems to be specified on the principal side of the association, unfortunately not explicitly stated, only deducible from the only given example:
>   <Association Name="CProductCategory">
>     <End Type="Self.CProduct" Multiplicity="*" />
>     <End Type="Self.CCategory" Multiplicity="0..1">
>       <OnDelete Action="Cascade" />
>     </End>
>   </Association>
> If the category goes away, it notifies its products to also go away.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira