[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1861?page=all ]
Steve Ebersole resolved HHH-1861:
---------------------------------
Resolution: Fixed
Done. For databases not supporting row value constructor syntax, the AST is actually mutated such that:
(FIRST_NAME, LAST_NAME) = ('Steve', 'Ebersole')
actually becomes:
FIRST_NAME = 'Steve' AND LAST_NAME = 'Ebersole'
> More complete component handling in HQL
> ---------------------------------------
>
> Key: HHH-1861
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1861
> Project: Hibernate3
> Type: Improvement
> Components: query-hql
> Reporter: Steve Ebersole
> Assignee: Steve Ebersole
> Fix For: 3.2.0
>
>
> Need more complete component handling capabilities in HQL. Specifically, the following are great things to be able to do (Person.name is component):
> from Person p where p.name = :name
> from Person p where p.name = ('steve', 'ebersole')
> The last form loosely follows the ANSI-SQL construct of "row value constructor", and actually was previously supported on databases which supported this syntax.
--
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
|