[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2826) IS [NOT] NULL checks with component values

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Oct 17 17:03:39 EDT 2007


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

Steve Ebersole resolved HHH-2826.
---------------------------------

    Resolution: Fixed

trunk / 3.2

> IS [NOT] NULL checks with component values
> ------------------------------------------
>
>                 Key: HHH-2826
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2826
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: query-hql
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 3.2.6, 3.3
>
>
> Currently the HQL translator attempts to render IS NULL and IS NOT NULL checks against a component using tuple syntax.  Would be much better to instead "explode" these.
> For example, consider Person with a name property which is a component type of Name and the HQL:
> "from Person p where p.name is null"
> Currently, we'd end up with SQL like:
> "... from person p where (p.f_name, p.l_name) is null"
> but the exploded form would make much more sense here:
> "... from person p where ( p.f_name is null and p.l_name is null )"

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