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() ) {
76647664 appendSql ( CLOSE_PARENTHESIS );
76657665 }
76667666 else {
7667- String separator = NO_SEPARATOR ;
7667+ if (inListPredicate .isNegated ()) {
7668+ appendSql ("not " );
7669+ }
76687670 appendSql ( OPEN_PARENTHESIS );
7669- for ( Expression expression : listExpressions ) {
7670- appendSql ( separator );
7671+ String separator = NO_SEPARATOR ;
7672+ for (Expression expression : listExpressions ) {
7673+ appendSql (separator );
76717674 emulateTupleComparison (
76727675 lhsTuple .getExpressions (),
7673- getSqlTuple ( expression ).getExpressions (),
7674- comparisonOperator ,
7676+ SqlTupleContainer . getSqlTuple (expression ).getExpressions (),
7677+ ComparisonOperator . EQUAL ,
76757678 true
76767679 );
76777680 separator = " or " ;
You can’t perform that action at this time.
0 commit comments