[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1376) Wrong generation of mySQL query with "null"

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:01:11 EDT 2011


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

Steve Ebersole closed HHH-1376.
-------------------------------


Closing stale resolved issues

> Wrong generation of mySQL query with "null" 
> --------------------------------------------
>
>                 Key: HHH-1376
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1376
>             Project: Hibernate Core
>          Issue Type: Bug
>    Affects Versions: 3.0.5
>         Environment: Windows, Linux, JDeveloper
>            Reporter: Guy Bashan
>
> Running the following SQL:
> "from Report report where report.fatherReport is ?"
> generates the following mySql query:
> "Hibernate: select report0_.report_id as report1_, report0_.pos as pos29_, report0_.name as name29_, report0_.img as img29_, report0_.father_id as father5_29_, report0_.report_subject_id as report6_29_ from report report0_ where report0_.father_id=?"
> The "is ?" is replaced with: "= ?".

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