[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-3698) Problem with HQL parameter bindings as indexed collection selectors

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Jan 9 00:41:39 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-3698.
-------------------------------

    Resolution: Fixed

> Problem with HQL parameter bindings as indexed collection selectors
> -------------------------------------------------------------------
>
>                 Key: HHH-3698
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3698
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: query-hql
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>            Priority: Minor
>             Fix For: 3.2.x, 3.3.x, 3.4
>
>
> Syntax like:
> from Zoo zoo where zoo.mammals[:name] = :id
> The portion inside the index operator (the brackets) is called the selector.  If the selector is a parameter, there is a bug with the new parameter bind handling which misses them.
> Essentially this is/was a problem anywhere we were "pre rendering' the sql and injecting that into the actual AST tree as the generic SQL_TOKEN type.

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