db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TORQUE-165) Implement cascading deletes
Date Fri, 15 Jul 2011 15:06:00 GMT

    [ 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


Mime
View raw message