[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2600) Property not resolved in subselect of delete query

Diego Pires Plentz (JIRA) noreply at atlassian.com
Fri Oct 12 22:16:41 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz resolved HHH-2600.
-------------------------------------

      Assignee: Diego Pires Plentz
    Resolution: Duplicate

> Property not resolved in subselect of delete query
> --------------------------------------------------
>
>                 Key: HHH-2600
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2600
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.2, 3.2.3
>            Reporter: Chris Bredesen
>            Assignee: Diego Pires Plentz
>            Priority: Minor
>         Attachments: case15607.zip
>
>
> Given a typical many-to-one between Customer and Account, the following query parses:
> from Customer c where exists (select a from c.account a where a.accountName = :param)
> But this one does not:
> delete from Customer c where exists (select a from c.account a where a.accountName = :param)

-- 
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