mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 20:24:46 +00:00
HHH-15572 Emulation of tuple comparison produces a wrong SQL query, missing a closing parenthesis
This commit is contained in:
parent
fe1ff7a829
commit
b2e4348d62
@ -2083,7 +2083,7 @@ private void emulateTupleComparisonSimple(
|
||||
rhsExpressions.get( lastIndex ).accept( this );
|
||||
|
||||
// Close all opened parenthesis
|
||||
for ( i = optimized ? 1 : 0; i < lastIndex; i++ ) {
|
||||
for ( i = optimized ? 1 : 0; i < lastIndex + 1; i++ ) {
|
||||
appendSql( CLOSE_PARENTHESIS );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user