[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2408) Incorrect SQL generated for JPA QL Update statement involving multiple entities

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Feb 7 01:21:40 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2408?page=all ]

Emmanuel Bernard updated HHH-2408:
----------------------------------

    Version: 3.2.2
                 (was: 3.2.1)

> Incorrect SQL generated for JPA QL Update statement involving multiple entities
> -------------------------------------------------------------------------------
>
>          Key: HHH-2408
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2408
>      Project: Hibernate3
>         Type: Bug

>     Versions: 3.2.2
>  Environment: Hibernate 3.2.2 GA, Oracle 9i
>     Reporter: Alex Savitsky
>  Attachments: Branch.java, Issue.java, PersistentEntity.java, TestCase.zip, Visit.java, application.properties, log.txt
>
>
> When generating SQL for statements like this: UPDATE Issue i SET i.dueDate = i.dueDate + 10 WHERE i.visit.branch.id = :branchId, an extra comma is generated at the end of table list: update Issue,  set DUE_DATE=DUE_DATE+10 where BRANCH_ID=?

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