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

Chris Bredesen (JIRA) noreply at atlassian.com
Tue May 8 15:16:04 EDT 2007


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.3, 3.2.2
            Reporter: Chris Bredesen
            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