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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira