[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-1605) HQL delete in 3.1.3 bug
Diego Pires Plentz (JIRA)
noreply at atlassian.com
Fri Oct 12 22:10:40 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Pires Plentz resolved HHH-1605.
-------------------------------------
Assignee: Diego Pires Plentz
Resolution: Duplicate
> HQL delete in 3.1.3 bug
> -----------------------
>
> Key: HHH-1605
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1605
> Project: Hibernate3
> Issue Type: Bug
> Components: query-hql
> Affects Versions: 3.1.3
> Reporter: Lukas Barton
> Assignee: Diego Pires Plentz
>
> I finded bug in Hibernate 3.1.3 version, that was not in 3.1.2.
> Try HQL DML like this:
> delete from IdfKlient vstp where exists(from Dotaz as dotaz where dotaz.davka=:davka and vstp.dotaz=dotaz)
> Hibernate 3.1.2 transaltes as:
> Hibernate: delete from idfklient where exists (select dotaz1_.id from dotaz dotaz1_ where iddavky=? and dotaz_id=id)
> But in Hibernate 3.1.3:
> Hibernate: delete from idfklient where exists (select dotaz1_.id from dotaz dotaz1_ where dotaz1_.iddavky=? and idfklient0_.dotaz_id=id)
> And fails!
--
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