File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
hibernate-core/src/main/java/org/hibernate/sql/ast/spi Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -7664,14 +7664,17 @@ else if ( !dialect.supportsRowValueConstructorSyntaxInInList() ) {
7664
7664
appendSql ( CLOSE_PARENTHESIS );
7665
7665
}
7666
7666
else {
7667
- String separator = NO_SEPARATOR ;
7667
+ if (inListPredicate .isNegated ()) {
7668
+ appendSql ("not " );
7669
+ }
7668
7670
appendSql ( OPEN_PARENTHESIS );
7669
- for ( Expression expression : listExpressions ) {
7670
- appendSql ( separator );
7671
+ String separator = NO_SEPARATOR ;
7672
+ for (Expression expression : listExpressions ) {
7673
+ appendSql (separator );
7671
7674
emulateTupleComparison (
7672
7675
lhsTuple .getExpressions (),
7673
- getSqlTuple ( expression ).getExpressions (),
7674
- comparisonOperator ,
7676
+ SqlTupleContainer . getSqlTuple (expression ).getExpressions (),
7677
+ ComparisonOperator . EQUAL ,
7675
7678
true
7676
7679
);
7677
7680
separator = " or " ;
You can’t perform that action at this time.
0 commit comments