[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2922) DML - update does not support component property in the set-clause

Gail Badner (JIRA) noreply at atlassian.com
Tue Oct 30 19:18:38 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28639 ] 

Gail Badner commented on HHH-2922:
----------------------------------

Please attach a runnable test case (Java + mapping) and a full stacktrace.

> DML - update does not support component property in the set-clause
> ------------------------------------------------------------------
>
>                 Key: HHH-2922
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2922
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: query-hql
>    Affects Versions: 3.2.4.sp1
>            Reporter: Roman Pichlík
>
> Using of component property in in the set-clause of HQL update query leads to:
> org.springframework.orm.hibernate3.HibernateQueryException: unexpected AST node: AND near line 1, column 43 [update x a set a.component = : where a._revision = :revision and a._uuid = :uuid]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: AND near line 1, column 43 [update artifactBase a set a._artifactData = :artifactData where a._revision = :revision and a._uuid = :uuid]
> 	

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