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