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