[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-695) Ability to specify cascading in HQL delete

Veit Guna (JIRA) noreply at atlassian.com
Thu Aug 16 15:50:13 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27865 ] 

Veit Guna commented on HHH-695:
-------------------------------

Are there any news on this? Tried to "delete from" but sets delcared as "all-delete-orphan" won't be deleted by the cascade - instead an exception is thrown concerning constraint violation.

Deleting the same object with delete() works though.


> 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