[ https://issues.apache.org/jira/browse/TORQUE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066010#comment-13066010 ]
Thomas Vandahl commented on TORQUE-165: --------------------------------------- Well, in my book cascading deletes would be the task of the database. It knows best what to do. Don't you think we should drop this as a feature? I never understood why it was there in the first place. Torque only knows about cascades based on foreign keys anyway. Besides, to be exact, it would be necessary to consider the value of onDelete when implementing this. > Implement cascading deletes > --------------------------- > > Key: TORQUE-165 > URL: https://issues.apache.org/jira/browse/TORQUE-165 > Project: Torque > Issue Type: Improvement > Reporter: Thomas Fox > Assignee: 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