Mike Dunn edited a comment on Bug HHH-7302

Upon further investigation. I have realized that this bug only affects databases where Dialect.supportsRowValueConstructorSyntax() is false, such as DB2.

On databases with support for Row Value Constructors hibernate generate code like the following: (which compares correctly)
select
...
from
SVDSPT workorder0_
where
(workorder0_.T2SCEN, workorder0_.T2SYER, workorder0_.T2SMTH, workorder0_.T2SDAY, workorder0_.T2STIM) > (?, ?, ?, ?, ?)
order by
workorder0_.T2SCEN,
workorder0_.T2SYER,
workorder0_.T2SMTH,
workorder0_.T2SDAY,
workorder0_.T2STIM

I am attaching a test case. hhh-7302.zip

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