[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-695) Ability to specify cascading in HQL delete
Aftab (JIRA)
noreply at atlassian.com
Sat May 24 03:57:35 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30254 ]
Aftab commented on HHH-695:
---------------------------
May be CASCADE delete in HQL solved by generating "ON DELETE CASCADE" ddl during schema generation. Hibernate does not do that currently even if cascade="all" is defined in HBM file.
> Ability to specify cascading in HQL delete
> ------------------------------------------
>
> Key: HHH-695
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-695
> Project: Hibernate3
> Issue Type: New Feature
> Components: query-hql
> Reporter: Steve Ebersole
> Assignee: Steve Ebersole
>
> Add the ability to cascade HQL deletes.
> Something like:
> delete Person p cascade p.addresses
> Obviously, this is better handled as in-DB cascade delete constraints, but for completeness...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list