We're updating the issue view to help you get more done. 

Wrong generation of mySQL query with "null" parameter

Description

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: "= ?".

Environment

Windows, Linux, JDeveloper

Status

Assignee

Unassigned

Reporter

Guy Bashan

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

3.0.5

Priority

Major