Issue Type: Patch Patch
Affects Versions: 4.1.7, 4.1.3
Assignee: Unassigned
Attachments: comparisson-1.patch
Components: query-hql
Created: 13/Sep/12 1:30 PM
Description:

I created a patch to fix bug HHH-7302. I roginally created on Hibernate 4.1.3 and have cleaned it up for Hibernate 4.1.7.
The patch modifies BinaryLogicOperatorNode.java to add seperate translate function for comparisons that generates a where tree on databases that do not have supportsRowValueConstructorSyntax(), that produces the same results as database with supportsRowValueConstructorSyntax(). Since this requires referncing fields more than once, I also add to wrapper classes MappedParameterSpecificationWrapper and MappedPreparedStatementWrapper to hide the multiple reference from the rest of hibernate.

I don't know how to create an svn diff using git, so I created a gnu diff. the patch was made again hibernate tag 4.1.7.Final from the git source.

Environment: Hibernate 4.1.x, MySQL, DB2
Project: Hibernate ORM
Priority: Major Major
Reporter: Mike Dunn
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira