[hibernate-issues] [Hibernate-JIRA] Created: (EJB-265) Incorrect SQL generated for JPA QL Update statement involving multiple entities

Alex Savitsky (JIRA) noreply at atlassian.com
Thu Feb 1 14:52:40 EST 2007


Incorrect SQL generated for JPA QL Update statement involving multiple entities
-------------------------------------------------------------------------------

         Key: EJB-265
         URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-265
     Project: Hibernate Entity Manager
        Type: Bug

    Versions: 3.2.1    
 Environment: Hibernate 3.2.2 GA, Oracle 9i
    Reporter: Alex Savitsky


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