You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2011/07/15 17:06:00 UTC

[jira] [Commented] (TORQUE-165) Implement cascading deletes

    [ https://issues.apache.org/jira/browse/TORQUE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065992#comment-13065992 ] 

Thomas Fox commented on TORQUE-165:
-----------------------------------

There are two ways to implement this. The first is in Base peer by traversing the database map. The second is in the generated Peers.

Because the generated code is easier to read and also easier to override, I'd like to go for the second option. 

> Implement cascading deletes
> ---------------------------
>
>                 Key: TORQUE-165
>                 URL: https://issues.apache.org/jira/browse/TORQUE-165
>             Project: Torque
>          Issue Type: Improvement
>            Reporter: Thomas Fox
>
> If the flag criteria.cascade is set to true and a detelete() method is called on a peer class, all rows ehich are referenced by the deleted rows should be deleted as well, including rows which are referenced indirectly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org