[ 
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-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org

Reply via email to